From 0591ee255aadee27e85a79db87a56b6882993faf Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Fri, 17 Oct 2014 10:11:48 +0200 Subject: Revert "fdo#67627 Clicking on icons of the sidebar should both open and close Decks" This caused a regression, see fdo#84351 This reverts commit 04e96b6d6eb55b9ff2a6ec9c4ce52260e33df121. --- sfx2/source/sidebar/SidebarController.cxx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 540de5b49d85..320f2b2b9077 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -525,13 +525,6 @@ void SidebarController::UpdateConfigurations (void) void SidebarController::OpenThenSwitchToDeck ( const ::rtl::OUString& rsDeckId) { - // fdo#67627 Clicking a second time on a Deck icon will close the Deck - if (mbIsDeckOpen && mbIsDeckOpen.get() && msCurrentDeckId == rsDeckId) - { - RequestCloseDeck(); - return; - } - RequestOpenDeck(); SwitchToDeck(rsDeckId); mpTabBar->Invalidate(); -- cgit v1.2.3