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 <noreply@anthropic.com>
This commit is contained in:
bherbruck
2026-10-20 23:41:24 -04:00
committed by GitHub
parent cbac4eab3f
commit 7803b3968f
+1 -1
View File
@@ -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);