summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/manaserv/charhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/charhandler.cpp b/src/net/manaserv/charhandler.cpp
index d44c62fe..6f2b4377 100644
--- a/src/net/manaserv/charhandler.cpp
+++ b/src/net/manaserv/charhandler.cpp
@@ -196,7 +196,6 @@ void CharHandler::handleCharacterDeleteResponse(Net::MessageIn &msg)
delete mSelectedCharacter;
mCharacters.remove(mSelectedCharacter);
updateCharSelectDialog();
- unlockCharSelectDialog();
new OkDialog(_("Info"), _("Player deleted."));
}
else
@@ -217,6 +216,7 @@ void CharHandler::handleCharacterDeleteResponse(Net::MessageIn &msg)
new OkDialog(_("Error"), errorMessage);
}
mSelectedCharacter = 0;
+ unlockCharSelectDialog();
}
void CharHandler::handleCharacterSelectResponse(Net::MessageIn &msg)