diff options
author | Tim E. Real <termtech@rogers.com> | 2012-11-03 12:05:56 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2012-11-03 12:05:56 +0000 |
commit | 31f618e5461553bd7836677f944acfa233e5ae3c (patch) | |
tree | 9ce5c671ed1a089bb2cd19692db5a9c45951b237 /muse2/muse/app.cpp | |
parent | b45ce65ca39817a0678f2172410b71433f79f736 (diff) |
Improved: Instrument Editor, fFixed MANY bugs. Should be SOLID now.
Improved: Midi controller graph 'Ctrl' popup menus.
Improved: Aftertouch and PolyAftertouch (channel/key pressure) are true MusE controllers now.
TODO: Still W.I.P. See ChangeLog
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r-- | muse2/muse/app.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp index 296b4eff..0286fc2c 100644 --- a/muse2/muse/app.cpp +++ b/muse2/muse/app.cpp @@ -2725,21 +2725,26 @@ again: // startEditInstrument //--------------------------------------------------------- -void MusE::startEditInstrument() +void MusE::startEditInstrument(const QString& find_instrument, EditInstrument::TabType show_tab) { if(editInstrument == 0) { editInstrument = new MusEGui::EditInstrument(this); editInstrument->show(); + editInstrument->findInstrument(find_instrument); + editInstrument->showTab(show_tab); } else { if(! editInstrument->isHidden()) editInstrument->hide(); - else + else + { editInstrument->show(); + editInstrument->findInstrument(find_instrument); + editInstrument->showTab(show_tab); + } } - } //--------------------------------------------------------- |