diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-07-12 09:40:24 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-07-12 21:02:06 +0000 |
commit | 7f980b43a79168dec3172ea7b9abe52c6f354bc0 (patch) | |
tree | 85c2ecd6ec9e872fcdb68a474960cead6407ae4b /sd | |
parent | 0b7135a62b6ec91e1f03566c1fcada85833925ee (diff) |
tdf#99107: Unify single click behaviour across panels
Change-Id: Ib182f6caae61eda5f85d241ddb1499671df0a28b
Reviewed-on: https://gerrit.libreoffice.org/27134
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/sidebar/MasterPagesSelector.cxx | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx index 6470397cb271..232aedbce1e4 100644 --- a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx @@ -73,10 +73,6 @@ CurrentMasterPagesSelector::CurrentMasterPagesSelector ( const css::uno::Reference<css::ui::XSidebar>& rxSidebar) : MasterPagesSelector (pParent, rDocument, rBase, rpContainer, rxSidebar) { - // For this master page selector only we change the default action for - // left clicks. - mnDefaultClickAction = SID_TP_APPLY_TO_SELECTED_SLIDES; - Link<sd::tools::EventMultiplexerEvent&,void> aLink (LINK(this,CurrentMasterPagesSelector,EventMultiplexerListener)); rBase.GetEventMultiplexer()->AddEventListener(aLink, sd::tools::EventMultiplexerEvent::EID_CURRENT_PAGE diff --git a/sd/source/ui/sidebar/MasterPagesSelector.cxx b/sd/source/ui/sidebar/MasterPagesSelector.cxx index f04d11361cff..db4a468d0bf1 100644 --- a/sd/source/ui/sidebar/MasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/MasterPagesSelector.cxx @@ -75,7 +75,7 @@ MasterPagesSelector::MasterPagesSelector ( mpContainer(rpContainer), mrDocument(rDocument), mrBase(rBase), - mnDefaultClickAction(SID_TP_APPLY_TO_ALL_SLIDES), + mnDefaultClickAction(SID_TP_APPLY_TO_SELECTED_SLIDES), maCurrentItemList(), maTokenToValueSetIndex(), maLockedMasterPages(), |