mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
refined filename choose dialog properties.
This commit is contained in:
parent
6bc2627bf5
commit
c13b9bb12e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user