summaryrefslogtreecommitdiff
path: root/muse2/muse
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-10-07 14:55:42 +0000
committerFlorian Jung <flo@windfisch.org>2011-10-07 14:55:42 +0000
commit375d6a53630f364c6560eb40255a8cc4c0496b8c (patch)
tree904eb4fbe7fc403e41298d9b98a03f95071f6503 /muse2/muse
parent3e6f82d7b9b29e8df7d63658540b762203b820f6 (diff)
fixed small bug in tlist.cpp
Diffstat (limited to 'muse2/muse')
-rw-r--r--muse2/muse/arranger/tlist.cpp3
1 files changed, 1 insertions, 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;
}