mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
refined filename choose dialog properties.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user