mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-06-02 09:51:47 +00:00
Fixed crash when Select Texture or Select Flat is clicked in Grid Setup dialog and no texture was previously used
This commit is contained in:
parent
04b883f999
commit
98f7420b33
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
Cursor.Current = Cursors.WaitCursor;
|
Cursor.Current = Cursors.WaitCursor;
|
||||||
ListViewItem item;
|
ListViewItem item;
|
||||||
bool foundselecttexture = false;
|
bool foundselecttexture = false;
|
||||||
long longname = Lump.MakeLongName(selecttexture);
|
long longname = Lump.MakeLongName(selecttexture ?? "");
|
||||||
|
|
||||||
// Initialize
|
// Initialize
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
|
@ -58,7 +58,7 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
Cursor.Current = Cursors.WaitCursor;
|
Cursor.Current = Cursors.WaitCursor;
|
||||||
ListViewItem item;
|
ListViewItem item;
|
||||||
bool foundselecttexture = false;
|
bool foundselecttexture = false;
|
||||||
long longname = Lump.MakeLongName(selecttexture);
|
long longname = Lump.MakeLongName(selecttexture ?? "");
|
||||||
|
|
||||||
// Initialize
|
// Initialize
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue