[Libreoffice-commits] core.git: sw/source
Jim Raykowski
raykowj at gmail.com
Mon Oct 2 19:42:16 UTC 2017
sw/source/uibase/utlui/navipi.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 0015f28ee5782b4b6964532459ae89cbd4ad6eaa
Author: Jim Raykowski <raykowj at gmail.com>
Date: Sat Sep 30 17:55:26 2017 -0800
tdf#42664 Update Navigator drop down list
Change-Id: I52843868a62cb1b89fba21c4e412a52501d2dc20
Reviewed-on: https://gerrit.libreoffice.org/43007
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index a2a37758e587..91fdbd22efbd 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -869,6 +869,14 @@ void SwNavigationPI::StateChanged(StateChangedType nStateChange)
// space. Therefore hide this button.
m_aContentToolBox->ShowItem(m_aContentToolBox->GetItemId("listbox"), SfxChildWindowContext::GetFloatingWindow(GetParent()));
}
+ else if (nStateChange == StateChangedType::ControlFocus)
+ {
+ if (m_aContentTree)
+ {
+ // update documents listbox
+ UpdateListBox();
+ }
+ }
}
// Get the numeric field from the toolbox.
More information about the Libreoffice-commits
mailing list