mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Prevent image export if no valid path exists/is given
This commit is contained in:
parent
79dfafc691
commit
56b2423887
1 changed files with 3 additions and 0 deletions
|
@ -137,6 +137,9 @@ namespace CodeImp.DoomBuilder.BuilderModes.Interface
|
|||
{
|
||||
ICollection<Sector> sectors = General.Map.Map.SelectedSectorsCount == 0 ? General.Map.Map.Sectors : General.Map.Map.GetSelectedSectors(true);
|
||||
|
||||
if (string.IsNullOrEmpty(tbExportPath.Text))
|
||||
return;
|
||||
|
||||
exporting = true;
|
||||
cancelexport = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue