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