summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-05-10 20:44:06 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-05-10 20:44:06 +0000
commitef5f5f784221dbf04469b803c3bba265b0f93803 (patch)
tree2accaf8311b81456eecd6588fc4ff777da7eff9d /src/live_effects/parameter
parentStyle rewrite: 'text-decoration' requires access to style of ancestor element... (diff)
downloadinkscape-ef5f5f784221dbf04469b803c3bba265b0f93803.tar.gz
inkscape-ef5f5f784221dbf04469b803c3bba265b0f93803.zip
Tentative fix for LPEs and undo
Fixed bugs: - https://launchpad.net/bugs/1299948 (bzr r13341.1.5)
Diffstat (limited to 'src/live_effects/parameter')
-rw-r--r--src/live_effects/parameter/path.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp
index cdbbef1db..44d414942 100644
--- a/src/live_effects/parameter/path.cpp
+++ b/src/live_effects/parameter/path.cpp
@@ -118,6 +118,11 @@ PathParam::param_readSVGValue(const gchar * strvalue)
// Now do the attaching, which emits the changed signal.
try {
ref.attach(Inkscape::URI(href));
+ //lp:1299948
+ SPItem* i = ref.getObject();
+ if (i) {
+ linked_modified_callback(i, SP_OBJECT_MODIFIED_FLAG);
+ } // else: document still processing new events. Repr of the linked object not created yet.
} catch (Inkscape::BadURIException &e) {
g_warning("%s", e.what());
ref.detach();