mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Destroy volume dropdown after volume toggle.
This fixes https://bugs.telegram.org/c/31989 When destroying the dropdown first, the volume toggle receives an Enter event and tries to show the dropdown (that is being destroyed).
This commit is contained in:
@@ -403,9 +403,9 @@ void Header::show(HeaderData data) {
|
||||
_pauseState = _controller->pauseState();
|
||||
applyPauseState();
|
||||
} else {
|
||||
_volume = nullptr;
|
||||
_playPause = nullptr;
|
||||
_volumeToggle = nullptr;
|
||||
_volume = nullptr;
|
||||
}
|
||||
|
||||
rpl::combine(
|
||||
|
||||
Reference in New Issue
Block a user