@@ -827,7 +827,7 @@ void CClientDlg::OnChatTextReceived ( QString strChatText )
827827 // always when a new message arrives since this is annoying.
828828 ShowChatWindow ( ( strChatText.indexOf ( WELCOME_MESSAGE_PREFIX ) == 0 ) );
829829
830- UpdateSettingsAndChatButtons ();
830+ UpdateDisplay ();
831831}
832832
833833void CClientDlg::OnLicenceRequired ( ELicenceType eLicenceType )
@@ -982,7 +982,7 @@ void CClientDlg::ShowChatWindow ( const bool bForceRaise )
982982 ChatDlg.activateWindow ();
983983 }
984984
985- UpdateSettingsAndChatButtons ();
985+ UpdateDisplay ();
986986}
987987
988988void CClientDlg::ShowAnalyzerConsole ()
@@ -1132,7 +1132,7 @@ void CClientDlg::OnTimerCheckAudioDeviceOk()
11321132 // timeout to check if a valid device is selected and if we do not have
11331133 // fundamental settings errors (in which case the GUI would only show that
11341134 // it is trying to connect the server which does not help to solve the problem (#129))
1135- if ( !pClient->SoundIsRunning () )
1135+ if ( !pClient->IsCallbackEntered () )
11361136 {
11371137 QMessageBox::warning ( this ,
11381138 APP_NAME,
@@ -1220,7 +1220,7 @@ void CClientDlg::OnDisconnect()
12201220 TimerDetectFeedback.stop ();
12211221 bDetectFeedback = false ;
12221222
1223- UpdateSettingsAndChatButtons ();
1223+ UpdateDisplay ();
12241224
12251225 // reset LEDs
12261226 ledBuffers->Reset ();
@@ -1238,7 +1238,7 @@ void CClientDlg::OnDisconnect()
12381238 SetMixerBoardDeco ( RS_UNDEFINED, pClient->GetGUIDesign () );
12391239}
12401240
1241- void CClientDlg::UpdateSettingsAndChatButtons ()
1241+ void CClientDlg::UpdateDisplay ()
12421242{
12431243 // update settings/chat buttons (do not fire signals since it is an update)
12441244 if ( chbSettings->isChecked () && !ClientSettingsDlg.isVisible () )
0 commit comments