sfx2/source/sidebar/SidebarController.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
New commits: commit 520dd8a0d5b02bfaf20c728d25e11282e2844aab Author: Samuel Mehrbrodt <[email protected]> AuthorDate: Tue Jul 16 14:19:25 2019 +0200 Commit: Thorsten Behrens <[email protected]> CommitDate: Fri Jul 19 15:53:17 2019 +0200 tdf#126427 Fix deck highlighting after activating via UNO API Reviewed-on: https://gerrit.libreoffice.org/75723 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <[email protected]> (cherry picked from commit 5a6671e8d8dc65f2bbb0880f19fd8c8c8e426b6d) Change-Id: I4ff7dfa156905abcba0df8e6bfbddc9e7d37cbbb Reviewed-on: https://gerrit.libreoffice.org/75751 Reviewed-by: Thorsten Behrens <[email protected]> Tested-by: Thorsten Behrens <[email protected]> diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index 14b40e58a6f8..75c2055e41c3 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -538,8 +538,6 @@ void SidebarController::OpenThenToggleDeck ( } RequestOpenDeck(); SwitchToDeck(rsDeckId); - mpTabBar->Invalidate(); - mpTabBar->HighlightDeck(rsDeckId); } void SidebarController::OpenThenSwitchToDeck ( @@ -551,8 +549,7 @@ void SidebarController::OpenThenSwitchToDeck ( pSplitWindow->FadeIn(); RequestOpenDeck(); SwitchToDeck(rsDeckId); - mpTabBar->Invalidate(); - mpTabBar->HighlightDeck(rsDeckId); + } void SidebarController::SwitchToDefaultDeck() @@ -692,6 +689,7 @@ void SidebarController::SwitchToDeck ( msCurrentDeckId = rDeckDescriptor.msId; } + mpTabBar->Invalidate(); mpTabBar->HighlightDeck(msCurrentDeckId); // Determine the panels to display in the deck. _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
