File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ char userRangeToReverb(double v) { return (char)qBound(0, static_cast<int>(v / 1
7676
7777Mixer::Mixer (QWidget* parent)
7878 : QDockWidget(qApp->translate (" Mixer" , " Mixer" ), parent),
79- showDetails(true ),
79+ showDetails(preferences.getBool(PREF_IO_MIDI_SHOWCONTROLSINMIXER) ),
8080 trackHolder(nullptr )
8181 {
8282
@@ -452,8 +452,9 @@ void Mixer::updateTracks()
452452// midiPrefsChanged
453453// ---------------------------------------------------------
454454
455- void Mixer::midiPrefsChanged (bool )
455+ void Mixer::midiPrefsChanged (bool showMidiControls )
456456 {
457+ showDetailsToggled (showMidiControls);
457458 updateTracks ();
458459 }
459460
@@ -503,6 +504,7 @@ void MuseScore::showMixer(bool visible)
503504
504505 if (mixer == 0 ) {
505506 mixer = new Mixer (this );
507+ mixer->showDetailsToggled (preferences.getBool (PREF_IO_MIDI_SHOWCONTROLSINMIXER));
506508 mscore->stackUnder (mixer);
507509 if (synthControl)
508510 connect (synthControl, SIGNAL (soundFontChanged ()), mixer, SLOT (updateTrack ()));
You can’t perform that action at this time.
0 commit comments