Take a Save panel's answer (craft-dialogs Answer::Saved on next)

This commit is contained in:
aiongg committed 2026-11-24 16:05:46 +00:00
1 parent 522d17adf9
commit b812cd9283
1 file changed
+1
+1
View File
@@ -141,6 +141,7 @@ pub(crate) fn poll(app: &mut MaterialCraftApp) {
Some(path) => chosen(app, then, &path),
None => cancelled(app, then),
},
Answer::Saved { path, .. } => chosen(app, then, &path),
Answer::Cancelled | Answer::Message(_) => cancelled(app, then),
Answer::Unavailable(why) => {
app.toast(format!("{}: {why}", tr("The file dialog could not be shown")), true);