summaryrefslogtreecommitdiff
path: root/muse2/muse
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-12-30 18:45:19 +0000
committerTim E. Real <termtech@rogers.com>2010-12-30 18:45:19 +0000
commit93be6bea35c4cbddf9f6846d6a4da1b363e10cd2 (patch)
treee403b06825ac25077f4c727a1fcfd611aaca28c1 /muse2/muse
parent7db552d8e41a4ac876802b3d4ac7d8a6e0dd2ed5 (diff)
Suggestion by OOM team: Add default velocity controllers to pianoroll and drum edit.
Diffstat (limited to 'muse2/muse')
-rw-r--r--muse2/muse/midiedit/drumedit.cpp3
-rw-r--r--muse2/muse/midiedit/pianoroll.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/muse2/muse/midiedit/drumedit.cpp b/muse2/muse/midiedit/drumedit.cpp
index b108ec7c..d4940c86 100644
--- a/muse2/muse/midiedit/drumedit.cpp
+++ b/muse2/muse/midiedit/drumedit.cpp
@@ -451,6 +451,9 @@ DrumEdit::DrumEdit(PartList* pl, QWidget* parent, const char* name, unsigned ini
if(pos > MAXINT)
pos = MAXINT;
hscroll->setOffset((int)pos);
+
+ // As a final act, open a default velocity controller.
+ addCtrl();
}
//---------------------------------------------------------
diff --git a/muse2/muse/midiedit/pianoroll.cpp b/muse2/muse/midiedit/pianoroll.cpp
index 7561cc37..53b92f91 100644
--- a/muse2/muse/midiedit/pianoroll.cpp
+++ b/muse2/muse/midiedit/pianoroll.cpp
@@ -542,6 +542,9 @@ PianoRoll::PianoRoll(PartList* pl, QWidget* parent, const char* name, unsigned i
if(pos > MAXINT)
pos = MAXINT;
hscroll->setOffset((int)pos);
+
+ // As a final act, open a default velocity controller.
+ addCtrl();
}
//---------------------------------------------------------