From 071685f5153fcbaa921ef0cd2072ea49e12bb23e Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Sun, 7 Oct 2018 12:35:16 +0200 Subject: Fix crash in filter dialog Should fix https://bugs.launchpad.net/inkscape/+bug/1795847 --- src/ui/dialog/filter-effects-dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3