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 -6
View File
@@ -21,12 +21,8 @@ use crate::dialog::{Dialog, edit};
impl Deck {
pub fn ask_table(&mut self, cx: &mut Context<Self>) {
if let Some(tab) = self.core.active {
self.dialog = Some(Dialog::Table {
tab,
columns: 3,
rows: 3,
});
cx.notify();
// Refused while another dialog is open; it says so.
let _ = self.open_dialog(Dialog::Table { tab, columns: 3, rows: 3 }, cx);
}
}