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 Keavon Chambers
parent 5b6db0a762
commit a92f1ecab0
1 changed files with 1 additions and 0 deletions

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()
}