mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 12:39:57 +00:00
Reset mouse wheel customization section correctly
This commit is contained in:
parent
f47508c21a
commit
65bc54904d
@ -766,6 +766,10 @@ private:
|
|||||||
void onReset() {
|
void onReset() {
|
||||||
if (ui::Alert::show(Strings::alerts_restore_all_shortcuts()) == 1) {
|
if (ui::Alert::show(Strings::alerts_restore_all_shortcuts()) == 1) {
|
||||||
m_keys.reset();
|
m_keys.reset();
|
||||||
|
if (!isDefaultWheelBehavior()) {
|
||||||
|
wheelBehavior()->setSelectedItem(0);
|
||||||
|
onWheelBehaviorChange();
|
||||||
|
}
|
||||||
listsPlaceholder()->layout();
|
listsPlaceholder()->layout();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user