bug fix with the initial connect dialog initialization when Jamulus is started up and the dialog was open previously

This commit is contained in:
Volker Fischer 2020-05-25 21:07:25 +02:00
parent c173ab7bb7
commit b5b74a3fa0

View file

@ -401,11 +401,6 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
ConnectDlg.restoreGeometry ( pClient->vecWindowPosConnect ); ConnectDlg.restoreGeometry ( pClient->vecWindowPosConnect );
} }
if ( pClient->bWindowWasShownConnect )
{
ShowConnectionSetupDialog();
}
// Connections ------------------------------------------------------------- // Connections -------------------------------------------------------------
// push buttons // push buttons
@ -559,9 +554,15 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
this, SLOT ( OnConnectDlgAccepted() ) ); this, SLOT ( OnConnectDlgAccepted() ) );
// Timers ------------------------------------------------------------------ // Initializations which have to be done after the signals are connected ---
// start timer for status bar // start timer for status bar
TimerStatus.start ( LED_BAR_UPDATE_TIME_MS ); TimerStatus.start ( LED_BAR_UPDATE_TIME_MS );
// restore connect dialog
if ( pClient->bWindowWasShownConnect )
{
ShowConnectionSetupDialog();
}
} }
void CClientDlg::closeEvent ( QCloseEvent* Event ) void CClientDlg::closeEvent ( QCloseEvent* Event )