diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-22 23:53:13 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-22 23:53:13 +0000 |
commit | 82c7ecf7a838c43771a676bb9311f9a1fc403f67 (patch) | |
tree | b7bb6316c5b1f9da06f75d7dbb0f13b2c4aaa259 /src/gui/char_select.h | |
parent | f6bd7da487f163d8ce6fa6975229715f11e1c3bb (diff) | |
download | mana-82c7ecf7a838c43771a676bb9311f9a1fc403f67.tar.gz mana-82c7ecf7a838c43771a676bb9311f9a1fc403f67.tar.bz2 mana-82c7ecf7a838c43771a676bb9311f9a1fc403f67.tar.xz mana-82c7ecf7a838c43771a676bb9311f9a1fc403f67.zip |
Clarified the error message when character creation fails and made sure the
character creation dialog doesn't close when creation failed.
Diffstat (limited to 'src/gui/char_select.h')
-rw-r--r-- | src/gui/char_select.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gui/char_select.h b/src/gui/char_select.h index d6b53044..754362c3 100644 --- a/src/gui/char_select.h +++ b/src/gui/char_select.h @@ -116,9 +116,17 @@ class CharCreateDialog : public Window, public gcn::ActionListener */ ~CharCreateDialog(); - void action(const gcn::ActionEvent &event); + void + action(const gcn::ActionEvent &event); - std::string getName(); + const std::string& + getName(); + + /** + * Unlocks the dialog, enabling the create character button again. + */ + void + unlock(); private: Network *mNetwork; |