From: buliabyak Date: Thu, 8 Mar 2007 22:34:38 +0000 (+0000) Subject: make sure undoing center moves emits modified signal and is thus noticed by the seltrans X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1eb4534a71df4ce43561ff82b33dbd4d7696c919;p=inkscape.git make sure undoing center moves emits modified signal and is thus noticed by the seltrans --- 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: