Null check.
This commit is contained in:
parent
8386da5ec6
commit
a8d609676e
@ -27,7 +27,7 @@ namespace LibationWinForms
|
|||||||
DataGridView.Rows[rowIndex].DefaultCellStyle.ForeColor = foreColor;
|
DataGridView.Rows[rowIndex].DefaultCellStyle.ForeColor = foreColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tagsString.Length == 0)
|
if (tagsString?.Length == 0)
|
||||||
{
|
{
|
||||||
base.Paint(graphics, clipBounds, cellBounds, rowIndex, elementState, null, null, null, cellStyle, advancedBorderStyle, paintParts);
|
base.Paint(graphics, clipBounds, cellBounds, rowIndex, elementState, null, null, null, cellStyle, advancedBorderStyle, paintParts);
|
||||||
DrawButtonImage(graphics, ButtonImage, cellBounds);
|
DrawButtonImage(graphics, ButtonImage, cellBounds);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user