summaryrefslogtreecommitdiffstats
path: root/src/selection-describer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection-describer.cpp')
-rw-r--r--src/selection-describer.cpp3
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) {