diff options
author | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-09-01 22:58:29 +0300 |
---|---|---|
committer | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-09-01 22:58:29 +0300 |
commit | 61555ce1f0d2b45ec21fe123ab604b6e18c21ccc (patch) | |
tree | 8bd84a9dd0749d63818fa0a4c06d7989b97517c9 /indra | |
parent | 4020b91ec6e8ab4994969ddda37f5ebbd9985367 (diff) |
VWR-20696 ADDITIONAL FIX Added calling onOpen() for tabs being undocked.
Reviewed by Vadim Savchuk.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llsidetray.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llsidetray.cpp b/indra/newview/llsidetray.cpp index 3f0c1fa946..9893370dcf 100644 --- a/indra/newview/llsidetray.cpp +++ b/indra/newview/llsidetray.cpp @@ -250,6 +250,13 @@ void LLSideTrayTab::toggleTabDocked() { 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 { |