[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-6-1' - sfx2/source
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 19 13:53:53 UTC 2019
sfx2/source/sidebar/SidebarController.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 520dd8a0d5b02bfaf20c728d25e11282e2844aab
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Tue Jul 16 14:19:25 2019 +0200
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
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 <Samuel.Mehrbrodt at cib.de>
(cherry picked from commit 5a6671e8d8dc65f2bbb0880f19fd8c8c8e426b6d)
Change-Id: I4ff7dfa156905abcba0df8e6bfbddc9e7d37cbbb
Reviewed-on: https://gerrit.libreoffice.org/75751
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
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.
More information about the Libreoffice-commits
mailing list