783 *ptr = val; |
783 *ptr = val; |
784 QString after = obj->asText(); |
784 QString after = obj->asText(); |
785 |
785 |
786 if (before != after) |
786 if (before != after) |
787 { |
787 { |
788 obj->document()->addToHistory (new EditHistory (idx, before, after)); |
788 obj->document()->addToHistory (new EditHistoryEntry (idx, before, after)); |
789 g_win->renderer()->compileObject (obj); |
789 g_win->renderer()->compileObject (obj); |
790 g_win->currentDocument()->redoVertices(); |
790 g_win->currentDocument()->redoVertices(); |
791 } |
791 } |
792 } |
792 } |
793 else |
793 else |