diff options
Diffstat (limited to 'muse2/muse/arranger/tlist.cpp')
-rw-r--r-- | muse2/muse/arranger/tlist.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/muse2/muse/arranger/tlist.cpp b/muse2/muse/arranger/tlist.cpp index 77c00d2d..6dea6ae1 100644 --- a/muse2/muse/arranger/tlist.cpp +++ b/muse2/muse/arranger/tlist.cpp @@ -571,7 +571,7 @@ void TList::portsPopupMenu(Track* t, int x, int y) { MidiTrack* track = (MidiTrack*)t; - //QMusEWidget::PopupMenu* p = midiPortsPopup(0); + //QPopupMenu* p = midiPortsPopup(0); MidiDevice* md = 0; int port = -1; if(t->type() == Track::AUDIO_SOFTSYNTH) @@ -708,11 +708,13 @@ void TList::oportPropertyPopupMenu(Track* t, int x, int y) //if (ract == act) { if (ract == gact) { bool show = !synth->guiVisible(); - audio->msgShowInstrumentGui(synth, show); + //audio->msgShowInstrumentGui(synth, show); + synth->showGui(show); } else if (ract == nact) { bool show = !synth->nativeGuiVisible(); - audio->msgShowInstrumentNativeGui(synth, show); + //audio->msgShowInstrumentNativeGui(synth, show); + synth->showNativeGui(show); } delete p; return; @@ -759,11 +761,13 @@ void TList::oportPropertyPopupMenu(Track* t, int x, int y) //if (ract == act) { if (ract == gact) { bool show = !port->guiVisible(); - audio->msgShowInstrumentGui(port->instrument(), show); + //audio->msgShowInstrumentGui(port->instrument(), show); + port->instrument()->showGui(show); } else if (ract == nact) { bool show = !port->nativeGuiVisible(); - audio->msgShowInstrumentNativeGui(port->instrument(), show); + //audio->msgShowInstrumentNativeGui(port->instrument(), show); + port->instrument()->showNativeGui(show); } delete p; |