mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Improve playback speed toggle logic.
This commit is contained in:
parent
ead5dbe368
commit
e959d1e1b0
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ SpeedController::SpeedController(
|
||||||
Expects(_qualities.empty() || (_lookupQuality && _changeQuality));
|
Expects(_qualities.empty() || (_lookupQuality && _changeQuality));
|
||||||
|
|
||||||
button->setClickedCallback([=] {
|
button->setClickedCallback([=] {
|
||||||
if (_lookup && _qualities.empty()) {
|
if (_lookup && !_lookupQuality && !_changeQuality) {
|
||||||
toggleDefault();
|
toggleDefault();
|
||||||
save();
|
save();
|
||||||
if (const auto current = menu()) {
|
if (const auto current = menu()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue