Fix: File dialogs that are not part of a form (#4752)
This commit is contained in:
1 parent
9f5cae7e61
commit
09c1de7574
1 file changed
+1
-1
@@ -200,7 +200,7 @@ fn file_dialog_responder(
|
||||
.values
|
||||
.iter()
|
||||
.position(|x| x.key == file_dialog.target_name)
|
||||
.context("Failed to find target_name in values")?;
|
||||
.unwrap_or(0);
|
||||
|
||||
// Remove any existing entries
|
||||
file_dialog
|
||||
|
||||
Reference in new issue
Block a user