mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 02:09:00 +00:00
shell-w2: drop the stale finished read left by the review fix
This commit is contained in:
@@ -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<DialogResult<Answer>> {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user