summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse2/muse/song.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/song.cpp b/muse2/muse/song.cpp
index be682f3e..5c755a9d 100644
--- a/muse2/muse/song.cpp
+++ b/muse2/muse/song.cpp
@@ -2645,7 +2645,7 @@ int Song::execMidiAutomationCtlPopup(MidiTrack* track, MidiPart* part, const QPo
if(tick >= partStart && tick < partEnd)
{
EventRange range = part->events().equal_range(tick - partStart);
- for(iEvent i = range.first; i != range.second; ++i)
+ for(ciEvent i = range.first; i != range.second; ++i)
{
ev = i->second;
if(ev.type() == Controller)