diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-10 09:38:40 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-10 09:38:40 +0000 |
commit | 4f11ef1b0124517e14712ffae284198db47d4d8d (patch) | |
tree | 208cc8bb89e18969686aeac346c5195010275995 /muse2/muse/mixer | |
parent | d225bb1f574a68a56b96fa33ebb33dcbc009383b (diff) |
Fixes in plugin and save dialogs. Please see the ChangeLog.
Diffstat (limited to 'muse2/muse/mixer')
-rw-r--r-- | muse2/muse/mixer/rack.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/muse2/muse/mixer/rack.cpp b/muse2/muse/mixer/rack.cpp index b979b420..a8bd1c62 100644 --- a/muse2/muse/mixer/rack.cpp +++ b/muse2/muse/mixer/rack.cpp @@ -504,7 +504,13 @@ void EffectRack::mousePressEvent(QMouseEvent *event) menuRequested(itemAt(event->pos())); return; } - + else if(event->button() & Qt::MiddleButton) { + int idx = row(itemAt(event->pos())); + bool flag = !track->efxPipe()->isOn(idx); + track->efxPipe()->setOn(idx, flag); + updateContents(); + } + QListWidget::mousePressEvent(event); } |