mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Improve playback speed toggle logic.
This commit is contained in:
@@ -734,7 +734,7 @@ SpeedController::SpeedController(
|
||||
Expects(_qualities.empty() || (_lookupQuality && _changeQuality));
|
||||
|
||||
button->setClickedCallback([=] {
|
||||
if (_lookup && _qualities.empty()) {
|
||||
if (_lookup && !_lookupQuality && !_changeQuality) {
|
||||
toggleDefault();
|
||||
save();
|
||||
if (const auto current = menu()) {
|
||||
|
Reference in New Issue
Block a user