diff options
author | Jim Raykowski <raykowj@gmail.com> | 2017-09-30 17:55:26 -0800 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-10-02 21:41:52 +0200 |
commit | 0015f28ee5782b4b6964532459ae89cbd4ad6eaa (patch) | |
tree | 7f01907182fa9eae15cab2fdd46eb27a9935daa1 | |
parent | 62d542e9b1bb1b442562951d21100fd61be5f0c7 (diff) |
tdf#42664 Update Navigator drop down list
Change-Id: I52843868a62cb1b89fba21c4e412a52501d2dc20
Reviewed-on: https://gerrit.libreoffice.org/43007
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r-- | sw/source/uibase/utlui/navipi.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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. |