diff options
| author | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-10-18 09:09:55 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-10-22 10:55:07 +0000 |
| commit | d381d4fb74cbac68148dd641af9d50b57910d456 (patch) | |
| tree | 99d537981cbd538694b1e0cdec98f70cc3bde2e7 /src | |
| parent | Better fix to handle cache on drawing items (diff) | |
| download | inkscape-d381d4fb74cbac68148dd641af9d50b57910d456.tar.gz inkscape-d381d4fb74cbac68148dd641af9d50b57910d456.zip | |
Select next filter primitive after removing current
Also fix crash on deleting bottom filter primitive
Fix https://gitlab.com/inkscape/inkscape/issues/475
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/filter-effects-dialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 4521cada7..2001ad008 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -1909,6 +1909,7 @@ void FilterEffectsDialog::PrimitiveList::remove_selected() if(prim) { _observer->set(nullptr); + _model->erase(get_selection()->get_selected()); //XML Tree being used directly here while it shouldn't be. sp_repr_unparent(prim->getRepr()); |
