diff options
author | Paul ProductEngine <pguslisty@productengine.com> | 2011-12-02 19:10:08 +0200 |
---|---|---|
committer | Paul ProductEngine <pguslisty@productengine.com> | 2011-12-02 19:10:08 +0200 |
commit | d58b5342dc7e8f49ab956523a3dc743b89803b3a (patch) | |
tree | 98c4dbd8793e8081141f34fa80d6577e6ca45062 /indra/newview/lltooldraganddrop.cpp | |
parent | 7359a5f34b0c51421cdb109854b0f305422ed20a (diff) |
EXP-1476 FIXED (Moving speak button to empty toolbar while incoming/outgoing call dialog is open does not move the dialog as well)
Reason:
A floater can be docked only to a button which is in visible chain, the visibility of the button itself is not enough.
After the button was added to the empty toolbar: mButtonAddSignal is called and the floater tries to dock to the button, but the button's parent(mButtonPanel) is yet invisible at this moment (so the button is not in visible chain). mButtonPanel visibility updates in draw() depending on whether it contains some buttons or not.
Solution:
Updating mButtonPanel visibility right after the button was added, before mButtonAddSignal
Diffstat (limited to 'indra/newview/lltooldraganddrop.cpp')
0 files changed, 0 insertions, 0 deletions