summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrj <rj@rj>2013-10-08 23:26:51 +0200
committerrj <rj@rj>2013-10-08 23:26:51 +0200
commit60e9415153a33eb6545ecf560e4b3b73864d1d2c (patch)
tree1eb1ad0bf1a6c5312e47613ba1c7d65f97e35554
parent36b8a8d42f6f24997e6de715de55f52c413b03a2 (diff)
fixed aux move bug
-rw-r--r--ChangeLog1
-rw-r--r--muse2/muse/arranger/tlist.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 79fc1138..3290c581 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
08.10.2013:
- Added line drawing of tempo in graphical master track editor (rj)
+ - Fixed bug (issue #342 Moving Aux sends crashes muse) (rj)
03.10.2013:
- Added keyboard shortcuts in midi editors for functions, Step record, Midi input,
Play events, Inc/Dec velocity (rj)
diff --git a/muse2/muse/arranger/tlist.cpp b/muse2/muse/arranger/tlist.cpp
index 7ebcad4d..0ef09c03 100644
--- a/muse2/muse/arranger/tlist.cpp
+++ b/muse2/muse/arranger/tlist.cpp
@@ -2460,7 +2460,8 @@ void TList::mouseReleaseEvent(QMouseEvent* ev)
// loop through all tracks and set the levels for all tracks
for (MusECore::iTrack t = tracks->begin(); t != tracks->end(); ++t) {
MusECore::AudioTrack *trk = (MusECore::AudioTrack*)*t;
- if (trk->hasAuxSend())
+
+ if (!trk->isMidiTrack() && trk->hasAuxSend())
{
std::vector<double> oldAuxValue;
for (unsigned i = 0 ; i < auxCopy.size(); i++)