summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-10-07 10:35:16 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-10-07 10:35:16 +0000
commit071685f5153fcbaa921ef0cd2072ea49e12bb23e (patch)
tree70449cb9c64298c2b6b246187e19f7608c62eb43 /src/ui
parentMerge branch 'old-cmake-cleanup' of gitlab.com:xzcvczx/inkscape (diff)
downloadinkscape-071685f5153fcbaa921ef0cd2072ea49e12bb23e.tar.gz
inkscape-071685f5153fcbaa921ef0cd2072ea49e12bb23e.zip
Fix crash in filter dialog
Should fix https://bugs.launchpad.net/inkscape/+bug/1795847
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/filter-effects-dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp
index c239711ab..9ea9a8c72 100644
--- a/src/ui/dialog/filter-effects-dialog.cpp
+++ b/src/ui/dialog/filter-effects-dialog.cpp
@@ -3086,7 +3086,7 @@ void FilterEffectsDialog::update_settings_view()
SPFilterPrimitive* prim = _primitive_list.get_selected();
- if(prim) {
+ if(prim && prim->getRepr()) {
//XML Tree being used directly here while it shouldn't be.
_settings->show_and_update(FPConverter.get_id_from_key(prim->getRepr()->name()), prim);