Skip to content

Commit

Permalink
Merge pull request #64 from PeterJohnson/fix-multiple
Browse files Browse the repository at this point in the history
Fix kdialog multi-select
  • Loading branch information
samhocevar authored Jan 17, 2022
2 parents 7a7a9f5 + ef0de7e commit dea8520
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion portable-file-dialogs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,10 @@ inline internal::file_dialog::file_dialog(type in_type,
case type::folder: command.push_back("--getexistingdirectory"); break;
}
if (options & opt::multiselect)
command.push_back(" --multiple");
{
command.push_back("--multiple");
command.push_back("--separate-output");
}

command.push_back(default_path);

Expand Down

0 comments on commit dea8520

Please sign in to comment.