VWR-21060 FIXED showing the panel in detached tab if it was in minimized state and was called via keyboard shortcut.
parent
c2935e40a6
commit
15ca7e43eb
|
|
@ -1015,7 +1015,9 @@ void LLSideTray::togglePanel(LLPanel* &sub_panel, const std::string& panel_name,
|
|||
if(!sub_panel)
|
||||
return;
|
||||
|
||||
if (sub_panel->isInVisibleChain())
|
||||
// If a panel is visible and attached to Side Tray (has LLSideTray among its ancestors)
|
||||
// it should be toggled off by collapsing Side Tray.
|
||||
if (sub_panel->isInVisibleChain() && sub_panel->hasAncestor(this))
|
||||
{
|
||||
LLSideTray::getInstance()->collapseSideBar();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue