Changed underlying directory attribute to webkitdirectory, fixed attribute parsing to properly toggle it.
This commit is contained in:
1 parent
37a8fb5391
commit
277436f673
5 files changed
+20
-5
No files matched your search
@@ -21,7 +21,10 @@ fn get_file_event_for_folder(request: &FileDiologRequest, dialog: rfd::FileDialo
|
||||
}
|
||||
}
|
||||
|
||||
fn get_file_event_for_file(request: &FileDiologRequest, mut dialog: rfd::FileDialog) -> Vec<PathBuf> {
|
||||
fn get_file_event_for_file(
|
||||
request: &FileDiologRequest,
|
||||
mut dialog: rfd::FileDialog,
|
||||
) -> Vec<PathBuf> {
|
||||
let filters: Vec<_> = request
|
||||
.accept
|
||||
.as_deref()
|
||||
|
||||
Reference in new issue
Block a user