Open Pianisimo opened 1 year ago
Just a quick note, that this might be related to #2332.
tested on mac: only commands::OPEN_FILE
is triggered when selecting one or more files.
tested on windows: nothing gets triggered when selecting more than one file.
rust version: 1.67.1 druid version: 0.8.3
tested on linux: it is working as expected
Right now after creating a FileDialogOptions and showing it:
let options = FileDialogOptions::new().multi_selection(); ctx.submit_command(commands::SHOW_OPEN_PANEL.with(options))
it can only be handled with the
cmd.get(commands::OPEN_FILE)
. I have implemented a case forcmd.get(commands::OPEN_FILES)
in my AppDelegate, but couldn't find a way to call it.