diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-25 10:29:34 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-25 10:29:34 -0700 |
commit | 543166b9d50ebf06bfc83a32fb2bab3b366eb871 (patch) | |
tree | e50f86ef77cad8a5e2801b1aaba33632f5e215ef /src/gui/npcintegerdialog.cpp | |
parent | 0aaf301660a504d94f758ac8a4d50dc33c189fa7 (diff) | |
download | mana-543166b9d50ebf06bfc83a32fb2bab3b366eb871.tar.gz mana-543166b9d50ebf06bfc83a32fb2bab3b366eb871.tar.bz2 mana-543166b9d50ebf06bfc83a32fb2bab3b366eb871.tar.xz mana-543166b9d50ebf06bfc83a32fb2bab3b366eb871.zip |
Make sure that all dialogs are cleared on player death, not just the NPC
text dialog.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/npcintegerdialog.cpp')
-rw-r--r-- | src/gui/npcintegerdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/npcintegerdialog.cpp b/src/gui/npcintegerdialog.cpp index d0a7c7be..9c49a630 100644 --- a/src/gui/npcintegerdialog.cpp +++ b/src/gui/npcintegerdialog.cpp @@ -70,6 +70,11 @@ int NpcIntegerDialog::getValue() return mValueField->getValue(); } +void NpcIntegerDialog::reset() +{ + mValueField->reset(); +} + void NpcIntegerDialog::action(const gcn::ActionEvent &event) { bool finish = false; |