Tue, 13 Feb 2018 14:22:10 +0200
hook up dataChanged
src/lddocument.cpp | file | annotate | diff | comparison | revisions |
--- a/src/lddocument.cpp Tue Feb 13 14:19:07 2018 +0200 +++ b/src/lddocument.cpp Tue Feb 13 14:22:10 2018 +0200 @@ -306,6 +306,8 @@ addToHistory(new EditHistoryEntry {object->lineNumber(), before, after}); redoVertices(); emit objectModified(object); + int linenumber = object->lineNumber(); + emit dataChanged(index(linenumber), index(linenumber)); } LDObject* LDDocument::withdrawAt(int position)