Mercurial > hg > svgui
diff layer/FlexiNoteLayer.cpp @ 876:b62c2785ed83 tonioni
Make the dragged pitch take effect when releasing drag on a note
author | Chris Cannam |
---|---|
date | Tue, 11 Nov 2014 17:05:44 +0000 |
parents | 0e674f1bbf08 |
children | 26da827e8fb5 |
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp Tue Nov 11 14:11:07 2014 +0000 +++ b/layer/FlexiNoteLayer.cpp Tue Nov 11 17:05:44 2014 +0000 @@ -1200,6 +1200,11 @@ QString newName = m_editingCommand->getName(); + if (m_editMode == DragNote) { + //!!! command nesting is wrong? + emit materialiseReAnalysis(); + } + m_editingCommand->deletePoint(m_editingPoint); updateNoteValueFromPitchCurve(v, m_editingPoint); m_editingCommand->addPoint(m_editingPoint);