summaryrefslogtreecommitdiff
path: root/cui/source/customize/cfg.cxx
diff options
context:
space:
mode:
authorJason Hulme <jsnhulme@gmail.com>2013-06-05 12:33:38 -0700
committerMiklos Vajna <vmiklos@suse.cz>2013-06-07 07:42:54 +0000
commit8ac87296c3f5f67d34336bf1eb75d1a6cc81e1c7 (patch)
treed6b9bd9fcf7de011f23ac5ee330458e884b89a30 /cui/source/customize/cfg.cxx
parent803bd5f1f23a1330d8c51942234e3a51671b7048 (diff)
fdo#63866 Hid useless checkboxes
Added functions to SvTreeListBox and SvLBoxButton to allow entries with hidden checkboxes Change-Id: Ia5a1deabea6c01aad5e4010612ac453c669258a6 Reviewed-on: https://gerrit.libreoffice.org/4169 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'cui/source/customize/cfg.cxx')
-rw-r--r--cui/source/customize/cfg.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 5566dcea43de..b2386ceb8e1b 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -4606,6 +4606,9 @@ IMPL_LINK( SvxToolbarConfigPage, SelectToolbar, ListBox *, pBox )
SvTreeListEntry* pNewLBEntry = InsertEntryIntoUI( pEntry );
+ if(pEntry->IsSeparator())
+ aContentsListBox->SetCheckButtonInvisible( pNewLBEntry );
+
if (pEntry->IsBinding())
{
aContentsListBox->SetCheckButtonState( pNewLBEntry,