diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-05 12:28:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-05 19:30:16 +0100 |
commit | 2a772fcef57f55a2ad9b2085eec5b068902f331b (patch) | |
tree | a1a17eacd008d675d0529199822454669595f2cd | |
parent | 1986f8a3a577c68d8fd984f06108a4fc5769173e (diff) |
drop SetUpdateMode on entering global mode
we don't bother do this on exiting global mode. If it still makes
sense to do this is presumably should be on child treeview-based
widget instead
Change-Id: Ic97d595e638ea0671c6efe0a47336b266cc7b83c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112014
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/uibase/utlui/navipi.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx index 1eace5034153..7e0883f03c26 100644 --- a/sw/source/uibase/utlui/navipi.cxx +++ b/sw/source/uibase/utlui/navipi.cxx @@ -1018,7 +1018,6 @@ void SwNavigationPI::ToggleTree() bool bGlobalDoc = IsGlobalDoc(); if (!IsGlobalMode() && bGlobalDoc) { - SetUpdateMode(false); if (IsZoomedIn()) ZoomOut(); m_xGlobalBox->show(); @@ -1034,7 +1033,6 @@ void SwNavigationPI::ToggleTree() m_xContent6ToolBox->hide(); m_xDocListBox->hide(); SetGlobalMode(true); - SetUpdateMode(true); } else { |