cui/source/options/optaboutconfig.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1f780088e8171c088ccb1c8bd82e314c1e4016f0
Author: Caolán McNamara <caol...@redhat.com>
Date:   Mon Mar 14 09:55:31 2016 +0000

    Resolves: tdf#94968 return false is expanding failed to add anything
    
    Change-Id: I377c478f3f55c0b41c47ee025f2e09850ece56f3

diff --git a/cui/source/options/optaboutconfig.cxx 
b/cui/source/options/optaboutconfig.cxx
index 4d5110d..94e4686 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -933,7 +933,7 @@ IMPL_LINK_NOARG_TYPED( CuiAboutConfigTabPage, 
ExpandingHdl_Impl, SvTreeListBox*,
         }
     }
 
-    return true;
+    return pEntry && pEntry->HasChildren();
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to