summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-27 21:08:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-27 21:08:59 +0300
commit7956fc7405b64914dbb19a67670623b2f0876a3e (patch)
treef54d7f2a07da8cd283d843b433f491fc0ad87b1a /src/client.cpp
parenta86a068c3a5d97377deee915c93c5a29889f1a59 (diff)
downloadplus-7956fc7405b64914dbb19a67670623b2f0876a3e.tar.gz
plus-7956fc7405b64914dbb19a67670623b2f0876a3e.tar.bz2
plus-7956fc7405b64914dbb19a67670623b2f0876a3e.tar.xz
plus-7956fc7405b64914dbb19a67670623b2f0876a3e.zip
Fix update login in title bar after player logged in.
Before it left always previous logged in nick.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 76bdf0cfa..19f3a0937 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1345,6 +1345,9 @@ int Client::gameExec()
// lower than the default value
theme->setMinimumOpacity(0.8F);
+ settings.login = loginData.username;
+ WindowManager::updateTitle();
+
CREATEWIDGETV(mCurrentDialog, CharSelectDialog,
loginData);