bug fix with the initial connect dialog initialization when Jamulus is started up and the dialog was open previously
This commit is contained in:
parent
c173ab7bb7
commit
b5b74a3fa0
1 changed files with 7 additions and 6 deletions
|
@ -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 )
|
||||||
|
|
Loading…
Reference in a new issue