Skip to content

Commit

Permalink
Allow multiselect in OpenFIlesDialog
Browse files Browse the repository at this point in the history
Fixes #39
  • Loading branch information
fernandreu committed May 1, 2019
1 parent 86748c1 commit 38f0b61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OfficeRibbonXEditor/Services/FileDialogService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public class FileDialogService : IFileDialogService
Filter = filter,
FilterIndex = filterIndex,
RestoreDirectory = true,
FileName = fileName ?? string.Empty
FileName = fileName ?? string.Empty,
Multiselect = true
};
ofd.FileOk += (o, e) => completedAction(((OpenFileDialog)o).FileNames);
return ofd.ShowDialog();
Expand Down

0 comments on commit 38f0b61

Please sign in to comment.