mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
refined filename choose dialog properties.
This commit is contained in:
@@ -82,9 +82,14 @@ namespace GARbro.GUI
|
|||||||
}
|
}
|
||||||
dir = Path.GetFullPath (dir);
|
dir = Path.GetFullPath (dir);
|
||||||
var dlg = new OpenFileDialog {
|
var dlg = new OpenFileDialog {
|
||||||
|
AddExtension = true,
|
||||||
|
CheckFileExists = false,
|
||||||
|
CheckPathExists = true,
|
||||||
|
FileName = initial,
|
||||||
|
Filter = GetFilters(),
|
||||||
InitialDirectory = dir,
|
InitialDirectory = dir,
|
||||||
Multiselect = false,
|
Multiselect = false,
|
||||||
Filter = GetFilters(),
|
Title = guiStrings.TextChooseArchive,
|
||||||
};
|
};
|
||||||
return dlg.ShowDialog (this).Value ? dlg.FileName : null;
|
return dlg.ShowDialog (this).Value ? dlg.FileName : null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user