diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index b4ae71a40f67..2a01514f0ea2 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -525,6 +525,13 @@ 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(); |