bug fix with unchecking the register server in the server dialog -> it seems that after the time out, the server was registered anyway because the timer was not disabled (fix is not yet tested...)
This commit is contained in:
parent
458310e4a2
commit
69f4ef837d
1 changed files with 4 additions and 7 deletions
|
@ -357,17 +357,14 @@ void CLlconServerDlg::OnRegisterServerStateChanged ( int value )
|
|||
// apply new setting to the server and update it
|
||||
pServer->SetServerListEnabled ( bRegState );
|
||||
|
||||
// If registering is enabled, update data. If registering is disabled,
|
||||
// unregister slave server
|
||||
if ( bRegState )
|
||||
{
|
||||
pServer->UpdateServerList();
|
||||
}
|
||||
else
|
||||
// if registering is disabled, unregister slave server
|
||||
if ( !bRegState )
|
||||
{
|
||||
pServer->UnregisterSlaveServer();
|
||||
}
|
||||
|
||||
pServer->UpdateServerList();
|
||||
|
||||
// update GUI dependencies
|
||||
UpdateGUIDependencies();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue