Kaydet (Commit) a14088e2 authored tarafından Jim Raykowski's avatar Jim Raykowski Kaydeden (comit) Katarina Behrens

tdf#119570 Show deck when focus is moved to panel in collapsed deck

Change-Id: Ifebc5802607d66cb32be2e0f51952ca4d5cb32bc
Reviewed-on: https://gerrit.libreoffice.org/59843
Tested-by: Jenkins
Reviewed-by: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
üst 2e894470
......@@ -507,10 +507,12 @@ void FocusManager::HandleKeyEvent (
// Go to next tab bar item.
if (aLocation.mnIndex < static_cast<sal_Int32>(maButtons.size())-1)
FocusButton(aLocation.mnIndex + 1);
else if (IsDeckTitleVisible())
FocusDeckTitle();
else
{
FocusPanel(0, true);
if (IsDeckTitleVisible())
FocusDeckTitle();
}
break;
default:
......
......@@ -1334,7 +1334,11 @@ void SidebarController::UpdateTitleBarIcons()
void SidebarController::ShowPanel (const Panel& rPanel)
{
if (mpCurrentDeck)
{
if (!IsDeckOpen())
RequestOpenDeck();
mpCurrentDeck->ShowPanel(rPanel);
}
}
ResourceManager::DeckContextDescriptorContainer SidebarController::GetMatchingDecks()
......
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