refined filename choose dialog properties.

This commit is contained in:
morkt 2014-07-26 23:22:58 +04:00
parent 6bc2627bf5
commit c13b9bb12e

View File

@ -82,9 +82,14 @@ namespace GARbro.GUI
}
dir = Path.GetFullPath (dir);
var dlg = new OpenFileDialog {
AddExtension = true,
CheckFileExists = false,
CheckPathExists = true,
FileName = initial,
Filter = GetFilters(),
InitialDirectory = dir,
Multiselect = false,
Filter = GetFilters(),
Title = guiStrings.TextChooseArchive,
};
return dlg.ShowDialog (this).Value ? dlg.FileName : null;
}