summaryrefslogtreecommitdiff
path: root/muse2/muse/song.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/song.cpp')
-rw-r--r--muse2/muse/song.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/muse2/muse/song.cpp b/muse2/muse/song.cpp
index 9d1c3afb..e4749d19 100644
--- a/muse2/muse/song.cpp
+++ b/muse2/muse/song.cpp
@@ -2517,13 +2517,13 @@ int Song::execAutomationCtlPopup(AudioTrack* track, const QPoint& menupos, int a
if(icl != track->controller()->end())
{
CtrlList *cl = icl->second;
- canAdd = true;
- ctlval = cl->curVal();
+ canAdd = true;
+ int frame = pos[0].frame();
+ ctlval = cl->curVal();
+ //ctlval = cl->value(frame); // p4.0.32
count = cl->size();
if(count)
{
- int frame = pos[0].frame();
-
iCtrl s = cl->lower_bound(frame);
iCtrl e = cl->upper_bound(frame);