diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-05 12:28:27 +0000 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-05-25 12:12:29 +0200 |
commit | 6d5a3234fade4af7f09984e5bb8ecc9da84fc09c (patch) | |
tree | d467cad5c86ea46adb30e418c0178b17bede3592 /sw | |
parent | fbb5bfbdb11717320c0778789afd3189652a84cb (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>
Diffstat (limited to 'sw')
-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 d18091bf3ef3..5205b94d485e 100644 --- a/sw/source/uibase/utlui/navipi.cxx +++ b/sw/source/uibase/utlui/navipi.cxx @@ -995,7 +995,6 @@ void SwNavigationPI::ToggleTree() bool bGlobalDoc = IsGlobalDoc(); if (!IsGlobalMode() && bGlobalDoc) { - SetUpdateMode(false); if (IsZoomedIn()) ZoomOut(); m_xGlobalBox->show(); @@ -1011,7 +1010,6 @@ void SwNavigationPI::ToggleTree() m_xContent6ToolBox->hide(); m_xDocListBox->hide(); SetGlobalMode(true); - SetUpdateMode(true); } else { |