diff options
author | Jason Hulme <jsnhulme@gmail.com> | 2013-06-05 12:33:38 -0700 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-06-07 07:42:54 +0000 |
commit | 8ac87296c3f5f67d34336bf1eb75d1a6cc81e1c7 (patch) | |
tree | d6b9bd9fcf7de011f23ac5ee330458e884b89a30 /cui | |
parent | 803bd5f1f23a1330d8c51942234e3a51671b7048 (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')
-rw-r--r-- | cui/source/customize/cfg.cxx | 3 |
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, |