Commit ba46de79 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

Logon to server: correctly handle cancellation

parent bd927b7b
......@@ -498,6 +498,8 @@ class Connection:
def __haveLoginData(self, arguments):
"""user entered login data, now try to login to server"""
if not Internal.autoPlay and self.dlg.result() == 0:
self.url, self.username, self.password, self.ruleset = arguments
if self.url.isLocalHost:
# we have localhost if we play a Local Game: client and server are identical,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment