mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Won't change if autoconnect enabled (#3602)
* Only will auto-select RR if autoconnect is not checked off. Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com> * Only will auto-select RR if autoconnect is not checked off. Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com> * On disconnect, un-check autoconnect. Better naming. Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com>
This commit is contained in:
parent
5a3f2fcff7
commit
754b9bdc5a
2 changed files with 10 additions and 5 deletions
|
|
@ -493,6 +493,7 @@ void RemoteClient::activateToServer(const QString &_token)
|
|||
|
||||
void RemoteClient::disconnectFromServer()
|
||||
{
|
||||
settingsCache->servers().setAutoConnect(false);
|
||||
emit sigDisconnectFromServer();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue