diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-10-07 14:42:31 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-10-07 14:42:31 +0000 |
| commit | 6b230be186a6cdbf140ab439195f003d7e614413 (patch) | |
| tree | 472415df2c8c159fabfb676791551c176cb78179 /src/display/canvas-grid.cpp | |
| parent | Fix dot size for calligraphy (diff) | |
| download | inkscape-6b230be186a6cdbf140ab439195f003d7e614413.tar.gz inkscape-6b230be186a6cdbf140ab439195f003d7e614413.zip | |
Fix crash when changing grid that was created with document
Diffstat (limited to 'src/display/canvas-grid.cpp')
| -rw-r--r-- | src/display/canvas-grid.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display/canvas-grid.cpp b/src/display/canvas-grid.cpp index c474bea50..68a721ce3 100644 --- a/src/display/canvas-grid.cpp +++ b/src/display/canvas-grid.cpp @@ -731,6 +731,9 @@ CanvasXYGrid::updateWidgets() { if (_wr.isUpdating()) return; + //no widgets (grid created with the document, not with the dialog) + if (!_rcb_visible) return; + _wr.setUpdating (true); _rcb_visible->setActive(visible); |
