Code

remove age-old optimization which fails to update display when undoing removing manua...
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 23 Jul 2007 06:00:22 +0000 (06:00 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 23 Jul 2007 06:00:22 +0000 (06:00 +0000)
src/sp-tspan.cpp

index 67b5217b9da7e1d54e76db7f1e1f94a6cea99f30..face70aef55bfa1bceccbf35a6eeae71a548328d 100644 (file)
@@ -148,8 +148,7 @@ sp_tspan_set(SPObject *object, unsigned key, gchar const *value)
     SPTSpan *tspan = SP_TSPAN(object);
        
     if (tspan->attributes.readSingleAttribute(key, value)) {
-        if (tspan->role != SP_TSPAN_ROLE_LINE)
-            object->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
+        object->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
     } else {
         switch (key) {
             case SP_ATTR_SODIPODI_ROLE: