# HG changeset patch # User matthiasm # Date 1400754096 -3600 # Node ID a6b87176b2599136d833e648316f804387f2990b # Parent 6da4897a11d3aa13eac764b0b6ae1ecc459c190c reinstated the original way that was better than my fix diff -r 6da4897a11d3 -r a6b87176b259 layer/FlexiNoteLayer.cpp --- a/layer/FlexiNoteLayer.cpp Wed May 21 21:16:11 2014 +0100 +++ b/layer/FlexiNoteLayer.cpp Thu May 22 11:21:36 2014 +0100 @@ -1356,9 +1356,9 @@ command->deletePoint(note); - updateNoteValue(v, newNote); - command->addPoint(newNote); - + if (updateNoteValue(v, newNote)) { + command->addPoint(newNote); + } } finish(command);