Mercurial > hg > svapp
changeset 268:1f8251b3ad5d tonioni
fix to work with FlexiNote...
author | matthiasm |
---|---|
date | Tue, 26 Mar 2013 16:56:39 +0000 |
parents | 98993f4904df |
children | 40a0fa9af6b4 |
files | framework/MainWindowBase.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Tue Mar 26 14:47:08 2013 +0000 +++ b/framework/MainWindowBase.cpp Tue Mar 26 16:56:39 2013 +0000 @@ -1012,15 +1012,15 @@ return; } - FlexiNoteModel *nm = dynamic_cast<FlexiNoteModel *>(layer->getModel()); - if (nm) { + FlexiNoteModel *fnm = dynamic_cast<FlexiNoteModel *>(layer->getModel()); + if (fnm) { FlexiNoteModel::Point point(alignedStart, rm->getValueMinimum(), alignedDuration, 1.f, ""); FlexiNoteModel::EditCommand *command = - new FlexiNoteModel::EditCommand(nm, tr("Add Point")); + new FlexiNoteModel::EditCommand(fnm, tr("Add Point")); command->addPoint(point); command->setName(name); c = command->finish();