diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-08 01:35:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-08 01:35:19 +0300 |
commit | 676c5e978cbb312fbf4df8ec396c0f8b08944a96 (patch) | |
tree | 3336dda58d228fdada40453d80769e5186dab845 /src/progs | |
parent | 0d9e625499c18a4eaf79d38dfb1ef6abf0c553bd (diff) | |
download | mv-676c5e978cbb312fbf4df8ec396c0f8b08944a96.tar.gz mv-676c5e978cbb312fbf4df8ec396c0f8b08944a96.tar.bz2 mv-676c5e978cbb312fbf4df8ec396c0f8b08944a96.tar.xz mv-676c5e978cbb312fbf4df8ec396c0f8b08944a96.zip |
Add support for enter auth pincode.
Diffstat (limited to 'src/progs')
-rw-r--r-- | src/progs/manaplus/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index 84f6cdcce..bc5007884 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -1080,6 +1080,7 @@ int Client::gameExec() BLOCK_START("Client::gameExec STATE_CHOOSE_SERVER") logger->log1("State: CHOOSE SERVER"); unloadData(); + pincodeManager.closeDialogs(); // Allow changing this using a server choice dialog // We show the dialog box only if the command-line @@ -1620,6 +1621,7 @@ int Client::gameExec() serverConfig.write(); logger->log1("State: ERROR"); logger->log("Error: %s\n", errorMessage.c_str()); + pincodeManager.closeDialogs(); mCurrentDialog = DialogsManager::openErrorDialog( // TRANSLATORS: error message header _("Error"), |