Skip to content
Snippets Groups Projects
Commit 61555ce1 authored by Sergei Litovchuk's avatar Sergei Litovchuk
Browse files

VWR-20696 ADDITIONAL FIX Added calling onOpen() for tabs being undocked.

Reviewed by Vadim Savchuk.
parent 4020b91e
No related branches found
No related tags found
No related merge requests found
...@@ -250,6 +250,13 @@ void LLSideTrayTab::toggleTabDocked() ...@@ -250,6 +250,13 @@ void LLSideTrayTab::toggleTabDocked()
{ {
side_tray->collapseSideBar(); side_tray->collapseSideBar();
} }
if (side_tray->getActiveTab() != this)
{
// When a tab other then current active tab is detached from Side Tray
// onOpen() should be called as tab visibility is changed.
onOpen(LLSD());
}
} }
else else
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment