From 7803b3968fada035fe6cf98800b3afc8d80eaf8e Mon Sep 17 00:00:00 2001 From: bherbruck Date: Tue, 20 Oct 2026 23:41:24 -0400 Subject: [PATCH] Fix main: a test built Applying without the new seen field (#4001) #3609 added Applying::seen; dialogs_sketch_tests' apply_keeps_the_panel_open_after_asynchronous_evaluation still built the struct without it, so ui-egui's tests stopped compiling on main. The test stands for a job that is already being shown, so seen is true (the behaviour it had before). Co-authored-by: Claude Opus 5.5 --- crates/ui-egui/src/dialogs_sketch_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/dialogs_sketch_tests.rs b/crates/ui-egui/src/dialogs_sketch_tests.rs index 01918d414..091d5775d 100644 --- a/crates/ui-egui/src/dialogs_sketch_tests.rs +++ b/crates/ui-egui/src/dialogs_sketch_tests.rs @@ -195,7 +195,7 @@ fn apply_keeps_the_panel_open_after_asynchronous_evaluation() { d.repeat_after_apply = true; h.app.dialog = Some(d); let (finish, done) = std::sync::mpsc::channel(); - h.app.applying = Some(Applying { done, started: crate::now_ms(), cmds }); + h.app.applying = Some(Applying { done, started: crate::now_ms(), cmds, seen: true }); let undo = h.app.session.undo.len(); h.frames(2); assert_eq!(h.app.session.undo.len(), undo);