mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Fixed a crash in the tag statistics window
This commit is contained in:
parent
b8a2d71625
commit
b9b30a2887
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ namespace CodeImp.DoomBuilder.GZBuilder.Windows
|
|||
|
||||
foreach(DataGridViewRow row in dataGridView.Rows)
|
||||
{
|
||||
string label = row.Cells[1].Value.ToString();
|
||||
string label = row.Cells[1].Value == null ? "" : row.Cells[1].Value.ToString();
|
||||
if(!string.IsNullOrEmpty(label))
|
||||
General.Map.Options.TagLabels.Add((int)row.Cells[0].Value, label);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue