mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 20:02:48 +00:00
More fixes related to crashes when running actions when no map is opened
This commit is contained in:
parent
59de9762ad
commit
90cdb7db55
1 changed files with 6 additions and 0 deletions
|
@ -3143,6 +3143,9 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
[BeginAction("viewusedtags")]
|
||||
internal void ViewUsedTags()
|
||||
{
|
||||
if (General.Map == null)
|
||||
return;
|
||||
|
||||
TagStatisticsForm f = new TagStatisticsForm();
|
||||
f.ShowDialog(this);
|
||||
}
|
||||
|
@ -3151,6 +3154,9 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
[BeginAction("viewthingtypes")]
|
||||
internal void ViewThingTypes()
|
||||
{
|
||||
if (General.Map == null)
|
||||
return;
|
||||
|
||||
ThingStatisticsForm f = new ThingStatisticsForm();
|
||||
f.ShowDialog(this);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue