diff options
author | Tim E. Real <termtech@rogers.com> | 2010-12-30 18:45:19 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2010-12-30 18:45:19 +0000 |
commit | 93be6bea35c4cbddf9f6846d6a4da1b363e10cd2 (patch) | |
tree | e403b06825ac25077f4c727a1fcfd611aaca28c1 /muse2/muse | |
parent | 7db552d8e41a4ac876802b3d4ac7d8a6e0dd2ed5 (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.cpp | 3 | ||||
-rw-r--r-- | muse2/muse/midiedit/pianoroll.cpp | 3 |
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(); } //--------------------------------------------------------- |