fix invalid access blowout. Found when trying to get it to run on Linux
This commit is contained in:
parent
8f1c913424
commit
a2c04e0bfd
@ -54,7 +54,10 @@ namespace EduNetworkBuilder
|
||||
if (dgv_VLANNames.Columns.Count > 0)
|
||||
{
|
||||
dgv_VLANNames.Columns[0].ReadOnly = LockedNames;
|
||||
dgv_VLANNames.Columns[1].ReadOnly = LockedNames;
|
||||
if (theNet.VLANPacketColors && dgv_VLANNames.Columns.Count > 1)
|
||||
{
|
||||
dgv_VLANNames.Columns[1].ReadOnly = LockedNames;
|
||||
}
|
||||
if(theNet.VLANPacketColors && dgv_VLANNames.Columns.Count > 2)
|
||||
{
|
||||
dgv_VLANNames.Columns[2].ReadOnly = LockedNames;
|
||||
|
Loading…
Reference in New Issue
Block a user