diff options
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r-- | src/gui/charselectdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp index e20ec849..66370a79 100644 --- a/src/gui/charselectdialog.cpp +++ b/src/gui/charselectdialog.cpp @@ -270,10 +270,10 @@ bool CharSelectDialog::selectByName(const std::string &name) return false; } -void CharSelectDialog::chooseSelected() +bool CharSelectDialog::chooseSelected() { if (!mCharInfo->getSize()) - return; + return false; setVisible(false); attemptCharSelect(); |