sw/source/uibase/utlui/navipi.cxx |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 0015f28ee5782b4b6964532459ae89cbd4ad6eaa
Author: Jim Raykowski <rayk...@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 <c...@libreoffice.org>
    Reviewed-by: Jan Holesovsky <ke...@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.
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to