From 8f8d49110f193803c4eefe9de0fd1e1a711734af Mon Sep 17 00:00:00 2001 From: bflatastic Date: Wed, 14 Oct 2026 08:42:22 +0700 Subject: [PATCH] Fix #1694: a file that finishes opening waits while a dialog is open A document opened off the UI thread became the active one as soon as it was ready, also under an open dialog, whose OK acts on the active document: Save As options confirmed after another file had finished opening wrote that file's art under the first document's name. Files that are ready now wait until the dialog is closed. --- crates/ui-egui/src/opening.rs | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/opening.rs b/crates/ui-egui/src/opening.rs index 99fb9c23..62f4ef08 100644 --- a/crates/ui-egui/src/opening.rs +++ b/crates/ui-egui/src/opening.rs @@ -68,8 +68,14 @@ pub fn start(app: &mut VectorcraftApp, path: &str, bytes: Vec) -> Result