summaryrefslogtreecommitdiff
path: root/vcl/inc/jsdialog/jsdialogbuilder.hxx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-03-06 11:33:08 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2023-03-07 09:29:50 +0000
commit09976bda9c196b2426b8826941f21384a58bf536 (patch)
treed7ce7a0c74652cd348bd5acc0d5c298156298541 /vcl/inc/jsdialog/jsdialogbuilder.hxx
parent928fdf82a5a0e6bc70aac11b5a03690dcaf0c8c0 (diff)
jsdialog: don't close dialog on tab page destroy
was closing the whole dialog on tab switch in Format -> Characters -> Highlight when switching to "None" also avoid sending multiple "full updates" by using the same builder for sending message Change-Id: I4540c9c857acf2b9f40482678a30335edc24e7cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148314 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'vcl/inc/jsdialog/jsdialogbuilder.hxx')
-rw-r--r--vcl/inc/jsdialog/jsdialogbuilder.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/jsdialog/jsdialogbuilder.hxx b/vcl/inc/jsdialog/jsdialogbuilder.hxx
index f9dea1a3987d..96455be71797 100644
--- a/vcl/inc/jsdialog/jsdialogbuilder.hxx
+++ b/vcl/inc/jsdialog/jsdialogbuilder.hxx
@@ -223,6 +223,8 @@ class JSInstanceBuilder final : public SalInstanceBuilder, public JSDialogSender
bool m_bIsNotebookbar;
/// used to detect when we have to send Full Update in container handler
bool m_bSentInitialUpdate;
+ /// is true for tabpages, prevents from closing parent window on destroy
+ bool m_bIsNestedBuilder;
/// When LOKNotifier is set by jsdialogs code we need to release it
VclPtr<vcl::Window> m_aWindowToRelease;