Fix zoom with scroll preference reset to default correctly (#1304)
This commit is contained in:
parent
5b6db0a762
commit
a92f1ecab0
|
|
@ -35,6 +35,7 @@ impl MessageHandler<PreferencesMessage, ()> for PreferencesMessageHandler {
|
|||
}
|
||||
PreferencesMessage::ResetToDefaults => {
|
||||
refresh_dialog(responses);
|
||||
responses.add(KeyMappingMessage::ModifyMapping(MappingVariant::Default));
|
||||
|
||||
*self = Self::default()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue