[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - sfx2/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 17 12:27:02 UTC 2019


 sfx2/source/sidebar/SidebarController.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 0b68e65d7c33aaba4cd5fd1e587567e36a972d1c
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Tue Jul 16 14:19:25 2019 +0200
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Wed Jul 17 14:25:56 2019 +0200

    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 at cib.de>
    (cherry picked from commit 5a6671e8d8dc65f2bbb0880f19fd8c8c8e426b6d)
    Reviewed-on: https://gerrit.libreoffice.org/75748
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 34c22ca63546..066ebe52751f 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -560,8 +560,6 @@ void SidebarController::OpenThenToggleDeck (
     if (mnSavedSidebarWidth < nRequestedWidth)
         SetChildWindowWidth(nRequestedWidth);
 
-    mpTabBar->Invalidate();
-    mpTabBar->HighlightDeck(rsDeckId);
     collectUIInformation(rsDeckId);
 }
 
@@ -574,8 +572,7 @@ void SidebarController::OpenThenSwitchToDeck (
         pSplitWindow->FadeIn();
     RequestOpenDeck();
     SwitchToDeck(rsDeckId);
-    mpTabBar->Invalidate();
-    mpTabBar->HighlightDeck(rsDeckId);
+
 }
 
 void SidebarController::SwitchToDefaultDeck()
@@ -715,6 +712,7 @@ void SidebarController::SwitchToDeck (
 
         msCurrentDeckId = rDeckDescriptor.msId;
     }
+    mpTabBar->Invalidate();
     mpTabBar->HighlightDeck(msCurrentDeckId);
 
     // Determine the panels to display in the deck.


More information about the Libreoffice-commits mailing list