diff --git a/crates/ui-egui/src/dialogs/preferences.rs b/crates/ui-egui/src/dialogs/preferences.rs index 19a941e96a..58f3496c0b 100644 --- a/crates/ui-egui/src/dialogs/preferences.rs +++ b/crates/ui-egui/src/dialogs/preferences.rs @@ -199,6 +199,8 @@ impl PdfCraftApp { PreferencesWindow::new(Bind::bound(state)) .mode(PreferencesMode::Live) .layout(PreferencesLayout::Cards) + // Production applies each row as it changes, and Escape closes the window with the typing kept. + .escape_keeps_typing() .remember(SaveKey::new("pdfcraft.preferences")) .show(ui, &mut prefs) };