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:
Zach H 2019-03-03 21:57:48 -05:00 committed by GitHub
parent 5a3f2fcff7
commit 754b9bdc5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View file

@ -493,6 +493,7 @@ void RemoteClient::activateToServer(const QString &_token)
void RemoteClient::disconnectFromServer()
{
settingsCache->servers().setAutoConnect(false);
emit sigDisconnectFromServer();
}