summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-04-12 21:52:27 -0600
committerJared Adams <jaxad0127@gmail.com>2010-04-16 17:43:52 -0600
commitcf4a1da4eaffe19090a2246e0d3111b885a64ace (patch)
tree6187c8c7a91796e485c71ea7c88c819bec902b66 /src/gui/charselectdialog.cpp
parent11a6f342e579c26320334b9ae9735701386e3b25 (diff)
downloadmana-cf4a1da4eaffe19090a2246e0d3111b885a64ace.tar.gz
mana-cf4a1da4eaffe19090a2246e0d3111b885a64ace.tar.bz2
mana-cf4a1da4eaffe19090a2246e0d3111b885a64ace.tar.xz
mana-cf4a1da4eaffe19090a2246e0d3111b885a64ace.zip
Fix canceling game connection
Reviewed-by: Bertram
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r--src/gui/charselectdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp
index c2c63248..e22c4daf 100644
--- a/src/gui/charselectdialog.cpp
+++ b/src/gui/charselectdialog.cpp
@@ -253,6 +253,7 @@ void CharSelectDialog::attemptCharacterSelect(int index)
if (mLocked)
return;
+ setVisible(false);
mCharHandler->chooseCharacter(mCharacterEntries[index]->getCharacter());
lock();
}