diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-07-16 14:19:25 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-07-17 09:06:09 +0200 |
commit | 5a6671e8d8dc65f2bbb0880f19fd8c8c8e426b6d (patch) | |
tree | a527d4e8c2fee3746a05f8c34756cc16ab77f3c8 /sfx2 | |
parent | 22069f3d5d1c00551bd254d1002966e515295475 (diff) |
tdf#126427 Fix deck highlighting after activating via UNO API
Change-Id: I4ff7dfa156905abcba0df8e6bfbddc9e7d37cbbb
Reviewed-on: https://gerrit.libreoffice.org/75723
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index cb4b80957c1c..f529f9fecfa9 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -561,8 +561,6 @@ void SidebarController::OpenThenToggleDeck ( if (mnSavedSidebarWidth < nRequestedWidth) SetChildWindowWidth(nRequestedWidth); - mpTabBar->Invalidate(); - mpTabBar->HighlightDeck(rsDeckId); collectUIInformation(rsDeckId); } @@ -575,8 +573,7 @@ void SidebarController::OpenThenSwitchToDeck ( pSplitWindow->FadeIn(); RequestOpenDeck(); SwitchToDeck(rsDeckId); - mpTabBar->Invalidate(); - mpTabBar->HighlightDeck(rsDeckId); + } void SidebarController::SwitchToDefaultDeck() @@ -716,6 +713,7 @@ void SidebarController::SwitchToDeck ( msCurrentDeckId = rDeckDescriptor.msId; } + mpTabBar->Invalidate(); mpTabBar->HighlightDeck(msCurrentDeckId); // Determine the panels to display in the deck. |