diff options
Diffstat (limited to 'src/selection-describer.cpp')
| -rw-r--r-- | src/selection-describer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/selection-describer.cpp b/src/selection-describer.cpp index b2b4b2d04..212ec9cf7 100644 --- a/src/selection-describer.cpp +++ b/src/selection-describer.cpp @@ -139,6 +139,9 @@ void SelectionDescriber::_updateMessageFromSelection(Inkscape::Selection *select // Parent name SPObject *parent = item->parent; + if (!parent) { //fix selector * to "svg:svg" + return; + } gchar const *parent_label = parent->getId(); gchar *parent_name = nullptr; if (parent_label) { |
