Fix #6066: Populating the Scripting page of the Document Properties when required

Fixing the issue #6066 "Embedded Scripts not shown in Document Properties on load"

Before, the page was being populated when built (at this time the document was not set) and not when the document was set/changed. With this change, the request to populate is moved to when the document is set/changed.

Merge request reports

Loading