ElyShow: an open dialog is never pushed aside; a stuck show start is gone (S-04)

This commit is contained in:
ZacharyZhang-NY committed 2026-10-09 20:17:16 -04:00
1 parent fd6e651478
commit 41a99962aa
13 files changed
+59 -26

No files matched your search

+2 -2
View File
@@ -186,8 +186,8 @@ impl Deck {
return log::info!("show: a chart dialog for tab {tab} came late");
}
let editing = Editing::new(tab, chart, window, cx);
deck.dialog = Some(Dialog::Chart(Box::new(editing)));
cx.notify();
// Refused while another dialog is open; it says so.
let _ = deck.open_dialog(Dialog::Chart(Box::new(editing)), cx);
})
})
.detach_and_log_err(cx);