From 375d6a53630f364c6560eb40255a8cc4c0496b8c Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Fri, 7 Oct 2011 14:55:42 +0000 Subject: fixed small bug in tlist.cpp --- muse2/muse/arranger/tlist.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/muse2/muse/arranger/tlist.cpp b/muse2/muse/arranger/tlist.cpp index c4a2094a..73c8eec7 100644 --- a/muse2/muse/arranger/tlist.cpp +++ b/muse2/muse/arranger/tlist.cpp @@ -928,8 +928,7 @@ TrackList TList::getRecEnabledTracks() void TList::changeAutomation(QAction* act) { //printf("changeAutomation %d\n", act->data().toInt()); - if (editAutomation->type() == Track::MIDI) { //FINDMICHJETZT is this correct? or should we also - //consider DRUM and NEW_DRUM? svn blame could help + if ( (editAutomation->type() == Track::MIDI) || (editAutomation->type() == Track::DRUM) || (editAutomation->type() == Track::NEW_DRUM) ) { printf("this is wrong, we can't edit automation for midi tracks from arranger yet!\n"); return; } -- cgit v1.2.3