mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 04:40:55 +00:00
Fixed a crash when opening the Texture Set editor
This commit is contained in:
parent
953cfbd195
commit
63c22e5d2d
1 changed files with 2 additions and 1 deletions
|
@ -102,7 +102,8 @@ namespace CodeImp.DoomBuilder.Controls
|
||||||
}
|
}
|
||||||
|
|
||||||
// Size of preview images
|
// Size of preview images
|
||||||
list.TileSize = new Size(General.Map.Data.Previews.MaxImageWidth + 26, General.Map.Data.Previews.MaxImageHeight + 26);
|
if(General.Map != null)
|
||||||
|
list.TileSize = new Size(General.Map.Data.Previews.MaxImageWidth + 26, General.Map.Data.Previews.MaxImageHeight + 26);
|
||||||
}
|
}
|
||||||
|
|
||||||
// This cleans everything up
|
// This cleans everything up
|
||||||
|
|
Loading…
Reference in a new issue