Kaydet (Commit) c499b2cc authored tarafından Thomas Arnhold's avatar Thomas Arnhold

Sidebar: Ensure Deck is open, if we choose an element from the Deck popup menu.

Otherwise the Deck will be changed, but not shown...

Change-Id: I4be7756542a8c21a616e7615ef40535e7310b90c
üst 04e96b6d
......@@ -997,7 +997,10 @@ IMPL_LINK(SidebarController, OnMenuItemSelected, Menu*, pMenu)
try
{
if (nIndex >= MID_FIRST_PANEL && nIndex<MID_FIRST_HIDE)
{
RequestOpenDeck();
SwitchToDeck(mpTabBar->GetDeckIdForIndex(nIndex - MID_FIRST_PANEL));
}
else if (nIndex >=MID_FIRST_HIDE)
if (pMenu->GetItemBits(nIndex) == MIB_CHECKABLE)
mpTabBar->ToggleHideFlag(nIndex-MID_FIRST_HIDE);
......
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