mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-30 10:04:02 +01:00
Take a Save panel's answer (craft-dialogs Answer::Saved on next)
This commit is contained in:
1 parent
522d17adf9
commit
b812cd9283
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user