From 5fdc88d60b6c6b779b4cd0747b8faec99349343f Mon Sep 17 00:00:00 2001 From: Robert Jonsson Date: Wed, 30 Aug 2006 20:44:05 +0000 Subject: minor fixes: - min track height - select other softsynths oh my back hurts, time to stop! --- muse/muse/mixer/mstrip.cpp | 2 +- muse/muse/track.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/muse/muse/mixer/mstrip.cpp b/muse/muse/mixer/mstrip.cpp index fad96b07..5838af8b 100644 --- a/muse/muse/mixer/mstrip.cpp +++ b/muse/muse/mixer/mstrip.cpp @@ -1179,7 +1179,7 @@ void MidiInPortStrip::oRoutePressed() SynthIList* asl = song->syntis(); int sn = 0; - for (iSynthI i = asl->begin(); i != asl->end(); ++i) { + for (iSynthI i = asl->begin(); i != asl->end(); ++i,++sn) { QAction* action = pup->addAction((*i)->name()); QMap data; diff --git a/muse/muse/track.cpp b/muse/muse/track.cpp index 0b8186eb..6c011d5e 100644 --- a/muse/muse/track.cpp +++ b/muse/muse/track.cpp @@ -328,7 +328,7 @@ bool Track::readProperties(QDomNode node) } } else if (tag == "height") - arrangerTrack.h = i; + arrangerTrack.h = i < minTrackHeight ? minTrackHeight : i; else if (tag == "subtrack") { ArrangerTrack* st = new ArrangerTrack; for (QDomNode n = node.firstChild(); !n.isNull(); n = n.nextSibling()) { -- cgit v1.2.3