diff options
Diffstat (limited to 'src/grid-snapper.cpp')
| -rw-r--r-- | src/grid-snapper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/grid-snapper.cpp b/src/grid-snapper.cpp index f1d4e4bf6..419dc4b82 100644 --- a/src/grid-snapper.cpp +++ b/src/grid-snapper.cpp @@ -39,6 +39,10 @@ Inkscape::LineSnapper::LineList Inkscape::GridSnapper::_getSnapLines(NR::Point c { LineList s; + if ( NULL == _named_view ) { + return s; + } + SPCGrid *griditem = NULL; for (GSList *l = _named_view->gridviews; l != NULL; l = l->next) { // FIXME : this is a hack since there is only one view for now |
