From 31f618e5461553bd7836677f944acfa233e5ae3c Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Sat, 3 Nov 2012 12:05:56 +0000 Subject: 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 --- muse2/muse/app.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'muse2/muse/app.cpp') 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); + } } - } //--------------------------------------------------------- -- cgit v1.2.3