mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
fixed crash when using Create Prefab from Selection without any selection
This commit is contained in:
parent
1982f07ab7
commit
3370d90bd0
1 changed files with 1 additions and 1 deletions
|
@ -340,6 +340,7 @@ namespace CodeImp.DoomBuilder.Editing
|
|||
General.ShowErrorMessage("Error while writing prefab to file! See log file for error details.", MessageBoxButtons.OK);
|
||||
}
|
||||
}
|
||||
data.Dispose();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -348,7 +349,6 @@ namespace CodeImp.DoomBuilder.Editing
|
|||
}
|
||||
|
||||
// Done
|
||||
data.Dispose();
|
||||
General.MainWindow.UpdateInterface();
|
||||
Cursor.Current = oldcursor;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue