diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-04-27 11:00:40 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-04-27 11:00:40 +0000 |
| commit | 73f1400782111f705fdbcd974f7477cce96b46bc (patch) | |
| tree | ea2e5431a0fe6f04991ad84f8289c7b154a19c3d /src/selection-describer.cpp | |
| parent | Add out of bound checks to fill bucket (diff) | |
| download | inkscape-73f1400782111f705fdbcd974f7477cce96b46bc.tar.gz inkscape-73f1400782111f705fdbcd974f7477cce96b46bc.zip | |
Fixes some crashes when selector is * and allow select multiple tags
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) { |
