summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-08-19 01:08:03 +0000
committernicholasbishop <nicholasbishop@users.sourceforge.net>2007-08-19 01:08:03 +0000
commit9ad83a1df305539e254178c0bfeba82103532414 (patch)
treeade0740ff976c57a43b595ca1f67709da6c9e4dd /src
parentFilter effects dialog: (diff)
downloadinkscape-9ad83a1df305539e254178c0bfeba82103532414.tar.gz
inkscape-9ad83a1df305539e254178c0bfeba82103532414.zip
Filter effects dialog:
feMerge fix; adding a new input should only happen if the user's drag motion points to a valid input primitive (bzr r3514)
Diffstat (limited to 'src')
-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 301ba8853..d1ce3b89c 100644
--- a/src/ui/dialog/filter-effects-dialog.cpp
+++ b/src/ui/dialog/filter-effects-dialog.cpp
@@ -1703,7 +1703,7 @@ bool FilterEffectsDialog::PrimitiveList::on_button_release_event(GdkEventButton*
}
}
// Add new input?
- if(!handled && c == _in_drag) {
+ if(!handled && c == _in_drag && in_val) {
Inkscape::XML::Document *xml_doc = sp_document_repr_doc(prim->document);
Inkscape::XML::Node *repr = xml_doc->createElement("svg:feMergeNode");
repr->setAttribute("inkscape:collect", "always");