diff options
author | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-07-12 23:09:45 +0200 |
---|---|---|
committer | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-07-21 18:07:46 +0200 |
commit | 396cbd8cd017f883946f1a0be7285c89f84f40af (patch) | |
tree | c79bcb5714393e7a7c9640e1a71dbbc855eac399 /sfx2 | |
parent | 3f6ad9d3cdd6fe97989d85b7ec31fe9b8ae340cd (diff) |
Related: tdf#155708 Clean-up - Fix validity dialog closes
Do not close Validation window if click on another Calc sheet.
Follow-up of commits:
1 - a5c61b143d53bb10430b8a486874856c16a2d86c
2 - efaa065eb7053954242c83760f897e7dba2e9fe8
Change-Id: I5352ee869f3e8a93b49abec863089f57cdf0aeba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154369
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/childwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx index 633c33bb35c9..6bf2814599ec 100644 --- a/sfx2/source/appl/childwin.cxx +++ b/sfx2/source/appl/childwin.cxx @@ -522,7 +522,7 @@ void SfxChildWindow::Show( ShowFlags nFlags ) { if (!xController->getDialog()->get_visible()) { - if (nScValidityWindowSlotID == GetType()) + if (!xController->CloseOnHide()) { // tdf#155708 - do not run a new (Async) validation window, // because we already have one in sync mode, just show the running one |