From 7f980b43a79168dec3172ea7b9abe52c6f354bc0 Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Tue, 12 Jul 2016 09:40:24 +0200 Subject: tdf#99107: Unify single click behaviour across panels Change-Id: Ib182f6caae61eda5f85d241ddb1499671df0a28b Reviewed-on: https://gerrit.libreoffice.org/27134 Reviewed-by: Katarina Behrens Tested-by: Katarina Behrens --- sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx | 4 ---- sd/source/ui/sidebar/MasterPagesSelector.cxx | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'sd') 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& 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 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(), -- cgit