summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-03-08 22:34:38 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-03-08 22:34:38 +0000
commit4b52778c913a95501795580da7e2cab5ffc5e846 (patch)
treee721fc9d4fcbe29bccc6955559c18240978db526 /src
parentchanged curve->length to SP_CURVE_LENGTH(curve). Fixes bug 1676273. (diff)
downloadinkscape-4b52778c913a95501795580da7e2cab5ffc5e846.tar.gz
inkscape-4b52778c913a95501795580da7e2cab5ffc5e846.zip
make sure undoing center moves emits modified signal and is thus noticed by the seltrans
(bzr r2577)
Diffstat (limited to 'src')
-rw-r--r--src/sp-item.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 22114cd5b..0f6ea3839 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -499,6 +499,7 @@ sp_item_set(SPObject *object, unsigned key, gchar const *value)
} else {
item->transform_center_x = 0;
}
+ object->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
break;
case SP_ATTR_TRANSFORM_CENTER_Y:
if (value) {
@@ -506,6 +507,7 @@ sp_item_set(SPObject *object, unsigned key, gchar const *value)
} else {
item->transform_center_y = 0;
}
+ object->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
break;
case SP_PROP_SYSTEM_LANGUAGE:
case SP_PROP_REQUIRED_FEATURES: