summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2024-11-21 20:11:18 +0530
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-12-05 18:49:58 +0100
commitc9763a9f160bd0e91a19cfb681556f49a28cbac5 (patch)
tree147f2f181ba617901dc66a2dc9d16193b00a1a53 /sc/source/ui/view
parenteea90af52e744d64c3d6ffd49c8859572450aed4 (diff)
LOK: don't recreate the dialogs of an old view when loading new views
follow up for f5ebf512ccd3d5ae3af5fe706b411a85fa19182d now same actions are performed on all the dialogs Change-Id: I6531a766327dda106770a2c513ebd492dea7c655 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176933 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> (cherry picked from commit 2fba6df7242586870988b62909156538b42c2bc0) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177892 Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/tabvwshc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx
index 4cf74a88295b..8fc9fb1276cf 100644
--- a/sc/source/ui/view/tabvwshc.cxx
+++ b/sc/source/ui/view/tabvwshc.cxx
@@ -128,7 +128,7 @@ std::shared_ptr<SfxModelessDialogController> ScTabViewShell::CreateRefDialogCont
if ( nCurRefDlgId != nSlotId )
{
- if (!(comphelper::LibreOfficeKit::isActive() && nSlotId == SID_OPENDLG_FUNCTION))
+ if (!comphelper::LibreOfficeKit::isActive())
{
// the dialog has been opened in a different view
// -> lock the dispatcher for this view (modal mode)