changeset 775:a6b87176b259 tonioni

reinstated the original way that was better than my fix
author matthiasm
date Thu, 22 May 2014 11:21:36 +0100
parents 6da4897a11d3
children c2291e22bf0c
files layer/FlexiNoteLayer.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);