diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-10-07 10:35:16 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-10-07 10:35:16 +0000 |
| commit | 071685f5153fcbaa921ef0cd2072ea49e12bb23e (patch) | |
| tree | 70449cb9c64298c2b6b246187e19f7608c62eb43 /src | |
| parent | Merge branch 'old-cmake-cleanup' of gitlab.com:xzcvczx/inkscape (diff) | |
| download | inkscape-071685f5153fcbaa921ef0cd2072ea49e12bb23e.tar.gz inkscape-071685f5153fcbaa921ef0cd2072ea49e12bb23e.zip | |
Fix crash in filter dialog
Should fix https://bugs.launchpad.net/inkscape/+bug/1795847
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/filter-effects-dialog.cpp | 2 |
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); |
