diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-04-22 19:07:15 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-04-22 19:07:15 +0300 |
commit | 175f12350d351570712db03e15c1bc89af677ad8 (patch) | |
tree | ab7597375737d954e83691c32d6ce327f43651f2 /indra/llcommon/llavatarname.cpp | |
parent | b15dca22637b0b2c1947b758a93f51163fb48cf1 (diff) |
STORM-1093 FIX "Dock" icon is still shown after a side panel has been docked with Ctrl+Shift+W.
Reason:
When an undocked side tray tab floater got closed with Ctrl+Shift+W,
LLSideTray::setTabDocked() was called. It docked the floater but didn't update
the dock/undock icon.
Fix:
Made setTabDocked() a general purpose method, not a hack suitable for using
only as a floater close callback in the basic viewer mode.
It now updates the dock/undock icon.
Other changes:
* Replaced numerous calls to toggleTabDocked with setDocked(),
that is safer because does exactly what you want.
* Got rid of a duplicated floater close callback.
Diffstat (limited to 'indra/llcommon/llavatarname.cpp')
0 files changed, 0 insertions, 0 deletions