From 1eb4534a71df4ce43561ff82b33dbd4d7696c919 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Thu, 8 Mar 2007 22:34:38 +0000 Subject: [PATCH] make sure undoing center moves emits modified signal and is thus noticed by the seltrans --- src/sp-item.cpp | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.30.2