Resolves: #i122272# Select correct sidebar button...

after changing decks via menu.

(cherry picked from commit 0763a83fb20825c66d8a3ecc50327753f7508bf9)

Change-Id: Ief24fa9191848ad6004ea7c28cd28b73b7e54f9f
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 6656714..b508cf4 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -480,6 +480,7 @@ void SidebarController::SwitchToDeck (

        msCurrentDeckId = rDeckDescriptor.msId;
    }
    mpTabBar->HighlightDeck(msCurrentDeckId);

    // Determine the panels to display in the deck.
    ResourceManager::PanelContextDescriptorContainer aPanelContextDescriptors;