mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +00:00
Fixed a bug where double-clicking the header in the UDMF custom properties tab would result in a crash
This commit is contained in:
parent
62dd9d9121
commit
7b65a2e80d
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
FieldsEditorRow frow = null;
|
||||
|
||||
// Anything selected
|
||||
if(fieldslist.SelectedRows.Count > 0)
|
||||
if(fieldslist.SelectedRows.Count > 0 && e.RowIndex > -1)
|
||||
{
|
||||
// Get the row
|
||||
DataGridViewRow row = fieldslist.Rows[e.RowIndex];
|
||||
|
|
Loading…
Reference in a new issue