From 0bc3e87d3d79912615283366a0c69b38b4491ef8 Mon Sep 17 00:00:00 2001 From: Martin Ball Date: Wed, 18 Nov 2026 12:22:39 +0000 Subject: [PATCH] shell-w2: drop the stale finished read left by the review fix --- crates/dialogs/src/ui/chooser.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/dialogs/src/ui/chooser.rs b/crates/dialogs/src/ui/chooser.rs index 130b7d108..6f795d0f2 100644 --- a/crates/dialogs/src/ui/chooser.rs +++ b/crates/dialogs/src/ui/chooser.rs @@ -363,9 +363,6 @@ impl FileChooser { /// Shows one pass: the chooser, and over it the Replace question while one is open. fn present(&mut self, ui: &mut Ui) -> Option> { - if let Some(done) = self.finished.take() { - return Some(done); - } // Folders are not watched, so the listings go stale when the window regains focus, as the places tree's do: // files changed in another app show on return. egui-winit sends `WindowFocused` from // `State::on_window_event` (`WindowEvent::Focused`), and only to a frame's first pass, so a second pass does not