Mercurial > hg > svgui
diff layer/NoteLayer.h @ 1427:f792a5001d80 single-point
Update to use external set of commands
author | Chris Cannam |
---|---|
date | Fri, 15 Mar 2019 11:09:17 +0000 |
parents | 2ee77c9974d7 |
children | 696e569ff21b |
line wrap: on
line diff
--- a/layer/NoteLayer.h Thu Mar 14 15:32:58 2019 +0000 +++ b/layer/NoteLayer.h Fri Mar 15 11:09:17 2019 +0000 @@ -154,7 +154,7 @@ int m_dragStartY; Event m_originalPoint; Event m_editingPoint; - NoteModel::EditCommand *m_editingCommand; + ChangeEventsCommand *m_editingCommand; bool m_editIsOpen; VerticalScale m_verticalScale; @@ -166,7 +166,7 @@ bool shouldAutoAlign() const; - void finish(NoteModel::EditCommand *command) { + void finish(ChangeEventsCommand *command) { Command *c = command->finish(); if (c) CommandHistory::getInstance()->addCommand(c, false); }