Fix zoom with scroll preference reset to default correctly (#1304)

This commit is contained in:
Rotteegher
2023-06-08 15:50:19 +00:00
committed by GitHub
parent ad8c406aa0
commit 9140526ce0

View File

@@ -35,6 +35,7 @@ impl MessageHandler<PreferencesMessage, ()> for PreferencesMessageHandler {
}
PreferencesMessage::ResetToDefaults => {
refresh_dialog(responses);
responses.add(KeyMappingMessage::ModifyMapping(MappingVariant::Default));
*self = Self::default()
}