Kaydet (Commit) bd26a6ab authored tarafından Andre Fischer's avatar Andre Fischer Kaydeden (comit) Michael Meeks

Resolves: #i122082# Show correct deck title and tab bar highlight...

after switching sidebar decks

(cherry picked from commit f44ca372)

Change-Id: I2162b2eafb8bd1fc8c803a398b475cdf71b6c34d
üst 4836645d
......@@ -382,7 +382,6 @@ void SidebarController::UpdateConfigurations (void)
maCurrentContext,
mbIsDocumentReadOnly,
mxFrame);
mpTabBar->SetDecks(aDecks);
// Notify the tab bar about the updated set of decks.
mpTabBar->SetDecks(aDecks);
......@@ -414,13 +413,12 @@ void SidebarController::UpdateConfigurations (void)
// We did not find a valid deck.
RequestCloseDeck();
return;
}
// Tell the tab bar to highlight the button associated
// with the deck.
mpTabBar->HighlightDeck(sNewDeckId);
}
msCurrentDeckId = sNewDeckId;
SwitchToDeck(
*ResourceManager::Instance().GetDeckDescriptor(sNewDeckId),
maCurrentContext);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment