mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +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));
|
||||
|
||||
button->setClickedCallback([=] {
|
||||
toggleDefault();
|
||||
save();
|
||||
if (const auto current = menu()) {
|
||||
current->otherEnter();
|
||||
if (_lookup && _qualities.empty()) {
|
||||
toggleDefault();
|
||||
save();
|
||||
if (const auto current = menu()) {
|
||||
current->otherEnter();
|
||||
}
|
||||
} else {
|
||||
showMenu();
|
||||
}
|
||||
});
|
||||
if (const auto lookup = _lookup) {
|
||||
|
|
Loading…
Add table
Reference in a new issue