Skip to content
Snippets Groups Projects
Commit d58b5342 authored by Paul ProductEngine's avatar Paul ProductEngine
Browse files

EXP-1476 FIXED (Moving speak button to empty toolbar while incoming/outgoing...

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
parent 7359a5f3
No related branches found
No related tags found
No related merge requests found
Loading
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