summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2017-08-18 09:56:52 +0300
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-09-04 22:39:46 +0200
commit60d622d807f4f3bcc8a699458adf5d6690f9dc4b (patch)
treec3fe39c8d41184b1644b400979c8a05dcabb4550 /cui/source/inc
parentc525dc764114f45ec9ff33837e8ae7cb74ce72b1 (diff)
Implement "Remove" button in the Customize dialog
By using the already implemented DeleteSelectedContent function. Now toolbar and menu/context menu items can be removed by using the "Remove" (Left Arrow) button which is between the commands list and the enrtries list boxes. Change-Id: If445ec6d431bc10263d961563bdd204e7868b931 Reviewed-on: https://gerrit.libreoffice.org/41272 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/SvxMenuConfigPage.hxx2
-rw-r--r--cui/source/inc/SvxToolbarConfigPage.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/inc/SvxMenuConfigPage.hxx b/cui/source/inc/SvxMenuConfigPage.hxx
index 9110edeeaf9d..162adc94c198 100644
--- a/cui/source/inc/SvxMenuConfigPage.hxx
+++ b/cui/source/inc/SvxMenuConfigPage.hxx
@@ -57,7 +57,7 @@ private:
DECL_LINK( SelectCategory, ListBox&, void );
DECL_LINK( AddCommandHdl, Button *, void );
- //DECL_LINK( RemoveCommandHdl, Button *, void );
+ DECL_LINK( RemoveCommandHdl, Button *, void );
void Init() override;
void UpdateButtonStates() override;
diff --git a/cui/source/inc/SvxToolbarConfigPage.hxx b/cui/source/inc/SvxToolbarConfigPage.hxx
index e4721553477f..29e48078b596 100644
--- a/cui/source/inc/SvxToolbarConfigPage.hxx
+++ b/cui/source/inc/SvxToolbarConfigPage.hxx
@@ -58,7 +58,7 @@ private:
DECL_LINK( SelectCategory, ListBox&, void );
DECL_LINK( AddCommandHdl, Button *, void );
- //DECL_LINK( RemoveCommandHdl, Button *, void );
+ DECL_LINK( RemoveCommandHdl, Button *, void );
void UpdateButtonStates() override;
short QueryReset() override;