comparison framework/MainWindowBase.cpp @ 647:25554f7a5b0d single-point

Update to use external commands
author Chris Cannam
date Fri, 15 Mar 2019 11:09:34 +0000
parents 3168deb50199
children eec0c50bb44f
comparison
equal deleted inserted replaced
646:3168deb50199 647:25554f7a5b0d
1251 Event point(alignedStart, 1251 Event point(alignedStart,
1252 nm->getValueMinimum(), 1252 nm->getValueMinimum(),
1253 alignedDuration, 1253 alignedDuration,
1254 1.f, 1254 1.f,
1255 ""); 1255 "");
1256 NoteModel::EditCommand *command = new NoteModel::EditCommand(nm, name); 1256 ChangeEventsCommand *command = new ChangeEventsCommand(nm, name);
1257 command->add(point); 1257 command->add(point);
1258 c = command->finish(); 1258 c = command->finish();
1259 } 1259 }
1260 1260
1261 if (c) { 1261 if (c) {