src/ldObject.cpp

changeset 983
05ba93066194
parent 981
5d5d84ab2c48
child 984
a7b6f987d269
equal deleted inserted replaced
982:a3a2e62a581b 983:05ba93066194
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

mercurial