mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Added "All files" filter for open/save map dialogs (not for choosing the IWAD though, because that's always .wad or .srb)
This commit is contained in:
parent
b22a22317f
commit
e8d7a324a0
1 changed files with 3 additions and 3 deletions
|
@ -1204,7 +1204,7 @@ namespace CodeImp.DoomBuilder
|
|||
|
||||
// Open map file dialog
|
||||
OpenFileDialog openfile = new OpenFileDialog();
|
||||
openfile.Filter = "Doom WAD Files (*.wad)|*.wad";
|
||||
openfile.Filter = "WAD Files (*.wad)|*.wad|All files|*.*";
|
||||
openfile.Title = "Open Map";
|
||||
if(!string.IsNullOrEmpty(settings.LastUsedMapFolder) && Directory.Exists(settings.LastUsedMapFolder)) //mxd
|
||||
openfile.InitialDirectory = settings.LastUsedMapFolder; //mxd
|
||||
|
@ -1501,7 +1501,7 @@ namespace CodeImp.DoomBuilder
|
|||
|
||||
// Show save as dialog
|
||||
SaveFileDialog savefile = new SaveFileDialog();
|
||||
savefile.Filter = "Doom WAD Files (*.wad)|*.wad";
|
||||
savefile.Filter = "WAD Files (*.wad)|*.wad|All files|*.*";
|
||||
savefile.Title = "Save Map As";
|
||||
savefile.AddExtension = true;
|
||||
savefile.CheckPathExists = true;
|
||||
|
@ -1573,7 +1573,7 @@ namespace CodeImp.DoomBuilder
|
|||
|
||||
// Show save as dialog
|
||||
SaveFileDialog savefile = new SaveFileDialog();
|
||||
savefile.Filter = "Doom WAD Files (*.wad)|*.wad";
|
||||
savefile.Filter = "WAD Files (*.wad)|*.wad|All files|*.*";
|
||||
savefile.Title = "Save Map Into";
|
||||
savefile.AddExtension = true;
|
||||
savefile.CheckPathExists = true;
|
||||
|
|
Loading…
Reference in a new issue