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
|
// apply new setting to the server and update it
|
||||||
pServer->SetServerListEnabled ( bRegState );
|
pServer->SetServerListEnabled ( bRegState );
|
||||||
|
|
||||||
// If registering is enabled, update data. If registering is disabled,
|
// if registering is disabled, unregister slave server
|
||||||
// unregister slave server
|
if ( !bRegState )
|
||||||
if ( bRegState )
|
|
||||||
{
|
|
||||||
pServer->UpdateServerList();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
pServer->UnregisterSlaveServer();
|
pServer->UnregisterSlaveServer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pServer->UpdateServerList();
|
||||||
|
|
||||||
// update GUI dependencies
|
// update GUI dependencies
|
||||||
UpdateGUIDependencies();
|
UpdateGUIDependencies();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue