Fixes null grid when moving from RIDE Log tab to Editor
@@ -37,6 +37,7 @@ class Colorizer(object):
self._coloring_task(selection_content)
def _coloring_task(self, selection_content, row=0, col=0):
+ if self._grid: # For example move from RIDE Log tab to Grid
if row >= self._grid.NumberRows:
self._grid.ForceRefresh()
elif col < self._grid.NumberCols:
