summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-17 20:57:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-17 21:17:12 +0300
commit38f7ccb05133ed1d66ad7fb0b99b9abe893c99eb (patch)
tree4d9a586264126601cf9b649f975962481f5a7893 /src/client.cpp
parent5eeef71adcafe98dade6cc9d0c47a5260528592d (diff)
downloadmv-38f7ccb05133ed1d66ad7fb0b99b9abe893c99eb.tar.gz
mv-38f7ccb05133ed1d66ad7fb0b99b9abe893c99eb.tar.bz2
mv-38f7ccb05133ed1d66ad7fb0b99b9abe893c99eb.tar.xz
mv-38f7ccb05133ed1d66ad7fb0b99b9abe893c99eb.zip
dont use virtual function in changeemaildialog constructor.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index db0a6c2ab..d5e05db2d 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1622,6 +1622,7 @@ int Client::gameExec()
case STATE_CHANGEEMAIL:
logger->log1("State: CHANGE EMAIL");
mCurrentDialog = new ChangeEmailDialog(&loginData);
+ mCurrentDialog->setVisible(true);
break;
case STATE_CHANGEEMAIL_ATTEMPT: