mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Don't change speed on settings click.
This commit is contained in:
parent
535b223333
commit
07f0c182e6
1 changed files with 8 additions and 4 deletions
|
@ -734,10 +734,14 @@ SpeedController::SpeedController(
|
||||||
Expects(_qualities.empty() || (_lookupQuality && _changeQuality));
|
Expects(_qualities.empty() || (_lookupQuality && _changeQuality));
|
||||||
|
|
||||||
button->setClickedCallback([=] {
|
button->setClickedCallback([=] {
|
||||||
toggleDefault();
|
if (_lookup && _qualities.empty()) {
|
||||||
save();
|
toggleDefault();
|
||||||
if (const auto current = menu()) {
|
save();
|
||||||
current->otherEnter();
|
if (const auto current = menu()) {
|
||||||
|
current->otherEnter();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
showMenu();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (const auto lookup = _lookup) {
|
if (const auto lookup = _lookup) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue