From 41e95fa78e991703cd12c350f2155980ae74f8ce Mon Sep 17 00:00:00 2001 From: sanyamsingh001 <314051937+sanyamsingh001@users.noreply.github.com> Date: Sat, 10 Oct 2026 11:46:07 +1000 Subject: [PATCH] LR-IMP-ADD-DIALOG: settle Copy layout before locating Tags Preserve the existing tag assertions and deadlines after editing the rename template. Co-authored-by: Codex --- crates/ui-egui/src/headless.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ui-egui/src/headless.rs b/crates/ui-egui/src/headless.rs index e6929269..a1e85ce8 100644 --- a/crates/ui-egui/src/headless.rs +++ b/crates/ui-egui/src/headless.rs @@ -2594,6 +2594,8 @@ mod tests { if let Some(crate::state::Dialog::Import { opts }) = &mut h.app.ui.dialog { opts.rename = "Trip-_x".into(); } + // Paint the edited template before locating the Tags button in the resized dialog. + assert!(h.settle(SETTLE), "Copy dialog layout should settle before locating Tags"); // the cursor sits after "Trip-" let id = egui::Id::new("import-rename"); let mut st = egui::text_edit::TextEditState::default();