src/lddocument.cpp

changeset 1241
0b5f84d2a68a
parent 1240
cebb7ef54f41
child 1256
3fea6bc1519b
equal deleted inserted replaced
1240:cebb7ef54f41 1241:0b5f84d2a68a
304 { 304 {
305 LDObject* object = static_cast<LDObject*>(sender()); 305 LDObject* object = static_cast<LDObject*>(sender());
306 addToHistory(new EditHistoryEntry {object->lineNumber(), before, after}); 306 addToHistory(new EditHistoryEntry {object->lineNumber(), before, after});
307 redoVertices(); 307 redoVertices();
308 emit objectModified(object); 308 emit objectModified(object);
309 int linenumber = object->lineNumber();
310 emit dataChanged(index(linenumber), index(linenumber));
309 } 311 }
310 312
311 LDObject* LDDocument::withdrawAt(int position) 313 LDObject* LDDocument::withdrawAt(int position)
312 { 314 {
313 LDObject* object = getObject(position); 315 LDObject* object = getObject(position);

mercurial