Skip to content

Commit d694d14

Browse files
committed
Fix prepend user with number
1 parent b7faa03 commit d694d14

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/audiomixerboard.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,6 +1334,9 @@ void CAudioMixerBoard::ApplyNewConClientList ( CVector<CChannelInfo>& vecChanInf
13341334
}
13351335
Mutex.unlock(); // release mutex
13361336

1337+
// Ensure MIDI state is applied to faders during the connection process
1338+
SetMIDICtrlUsed(pSettings->bUseMIDIController);
1339+
13371340
// sort the channels according to the selected sorting type
13381341
ChangeFaderOrder ( eChSortType );
13391342

src/clientsettingsdlg.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,9 @@ void CClientSettingsDlg::showEvent ( QShowEvent* event )
909909
spnMuteCount->setValue ( pSettings->midiMuteCount );
910910
chbUseMIDIController->setChecked ( pSettings->bUseMIDIController );
911911

912+
// Emit MIDIControllerUsageChanged signal to propagate MIDI state at startup
913+
emit MIDIControllerUsageChanged(chbUseMIDIController->isChecked());
914+
912915
QDialog::showEvent ( event );
913916
}
914917

0 commit comments

Comments
 (0)