From cdfc6c1d71f02e7e19cd66851331da4fbeb980ee Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Mon, 23 Nov 2026 07:44:01 -0500 Subject: [PATCH] prod merge: Preferences keeps typed values on Escape (PreferencesWindow::escape_keeps_typing, as production's Live window) --- crates/ui-egui/src/dialogs/preferences.rs | 2 ++ 1 file changed, 2 insertions(+) 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) };