From 73f1400782111f705fdbcd974f7477cce96b46bc Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sat, 27 Apr 2019 13:00:40 +0200 Subject: Fixes some crashes when selector is * and allow select multiple tags --- src/selection-describer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/selection-describer.cpp') 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) { -- cgit v1.2.3