diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2021-04-14 15:01:22 +0200 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2021-04-15 11:20:34 +0200 |
commit | 60778f053ab0740a3339d4b06595bb6327cf3599 (patch) | |
tree | d21c9de279b8f71c18d0d941ba40a72c5b818b01 /starmath | |
parent | 67ff46b8a50cfbbfa217afa1f68527f09eeb7a7e (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 'starmath')
0 files changed, 0 insertions, 0 deletions