Skip to content

Commit

Permalink
Allow selection of vhd files from multiple directories
Browse files Browse the repository at this point in the history
  • Loading branch information
uroni committed Oct 19, 2016
1 parent 5693586 commit 1275f7e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions fsimageplugin/dllmain.cpp
Expand Up @@ -673,8 +673,13 @@ DLLEXPORT void LoadActions(IServer* pServer)
filter += L"*.vhd";
filter += '\0';*/
filter += '\0';
input_files = file_via_dialog("Please select all the images to assemble into one image",
filter, true, true, "");
std::vector<std::string> new_input_files;
do
{
new_input_files = file_via_dialog("Please select all the images to assemble into one image. Cancel once finished.",
filter, true, true, "");
input_files.insert(input_files.end(), new_input_files.begin(), new_input_files.end());
} while (!new_input_files.empty());

filter.clear();
filter += "Image file (*.vhd)";
Expand Down

0 comments on commit 1275f7e

Please sign in to comment.