summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2021-04-14 15:01:22 +0200
committerJean-Pierre Ledure <jp@ledure.be>2021-04-15 11:20:34 +0200
commit60778f053ab0740a3339d4b06595bb6327cf3599 (patch)
treed21c9de279b8f71c18d0d941ba40a72c5b818b01 /sot
parent67ff46b8a50cfbbfa217afa1f68527f09eeb7a7e (diff)
ScriptForge - (SFDocuments) Fix SF_Base.OpenFormDocument()
When a Base form is: 1. opened with OpenFormDocument(), then closed 2. Opened manually in Edit mode, then closed 3. Reopened with OpenFormDocument() in normal mode - it again gets opened in Edit mode - its closure is not executed, neither by program nor manually The OpenFormDocument() method is simplified: the invoked loadComponent method may be executed even when the form is already open. It simply activates the form which is exactly the expected bahaviour. Additionally: - the opening mode is checked after the open and, if not matching the expected DesignMode argument, reset. - the alive check of a form (IsStillAlive()) does not require a database connection anymore Change-Id: I5f55e45b246867d19e514e0d820f164790dec300 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114092 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'sot')
0 files changed, 0 insertions, 0 deletions