summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-03-14 09:55:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-03-14 09:55:45 +0000
commit1f780088e8171c088ccb1c8bd82e314c1e4016f0 (patch)
tree9f6fc0f496ed323daac63777e199f12eadee20b6
parent0ce8320eeb1df7eb4f54774e92c2b0e5488570e3 (diff)
Resolves: tdf#94968 return false is expanding failed to add anything
Change-Id: I377c478f3f55c0b41c47ee025f2e09850ece56f3
-rw-r--r--cui/source/options/optaboutconfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index 4d5110d210d4..94e46864f1f0 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: */