[Libreoffice-commits] core.git: sw/source

Eike Rathke erack at redhat.com
Thu Jul 12 14:37:33 UTC 2018


 sw/source/uibase/utlui/content.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 446f9cf176038881af166e46489bb1880b22174d
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Jul 12 16:36:00 2018 +0200

    SvTreeListBox::DoubleClickHdl: SwContentTree more, tdf#115950 related
    
    Change-Id: I86b5275484754b222698fb8c4540ff66bd6c962a

diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index c50897b07d2b..8cf3a7991878 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -1571,7 +1571,6 @@ IMPL_LINK_NOARG(SwContentTree, ContentDoubleClickHdl, SvTreeListBox*, bool)
         if(lcl_IsContentType(pEntry) && !pEntry->HasChildren())
         {
             RequestingChildren(pEntry);
-            return true;    // signal more to be done, i.e. expand children
         }
         else if (!lcl_IsContentType(pEntry) && (State::HIDDEN != m_eState))
         {
@@ -1586,7 +1585,9 @@ IMPL_LINK_NOARG(SwContentTree, ContentDoubleClickHdl, SvTreeListBox*, bool)
             GotoContent(pCnt);
             if(pCnt->GetParent()->GetType() == ContentTypeId::FRAME)
                 m_pActiveShell->EnterStdMode();
+            return false;   // treelist processing finished
         }
+        return true;        // signal more to be done, i.e. expand/collapse children
     }
     return false;
 }


More information about the Libreoffice-commits mailing list