[Libreoffice-commits] core.git: sfx2/source

Samuel Mehrbrodt s.mehrbrodt at gmail.com
Fri Oct 17 01:14:15 PDT 2014


 sfx2/source/sidebar/SidebarController.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 0591ee255aadee27e85a79db87a56b6882993faf
Author: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
Date:   Fri Oct 17 10:11:48 2014 +0200

    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.

diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 540de5b..320f2b2 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();


More information about the Libreoffice-commits mailing list