summaryrefslogtreecommitdiff
path: root/src/gui/npcintegerdialog.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-18 21:52:29 -0700
committerIra Rice <irarice@gmail.com>2009-01-18 21:52:29 -0700
commit7c13d69ed3739668bff47728a8976131cd00d5a4 (patch)
treeb33e24015fbe1b340a48bb25b6d66ff863f77bf2 /src/gui/npcintegerdialog.cpp
parent928e1671e44a08a1d778b4fff4f0555ce3e9e51f (diff)
downloadmana-client-7c13d69ed3739668bff47728a8976131cd00d5a4.tar.gz
mana-client-7c13d69ed3739668bff47728a8976131cd00d5a4.tar.bz2
mana-client-7c13d69ed3739668bff47728a8976131cd00d5a4.tar.xz
mana-client-7c13d69ed3739668bff47728a8976131cd00d5a4.zip
Reset the input fields so that they're reset when they're brought up
again. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/npcintegerdialog.cpp')
-rw-r--r--src/gui/npcintegerdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/npcintegerdialog.cpp b/src/gui/npcintegerdialog.cpp
index 75dd52c8..473c10f6 100644
--- a/src/gui/npcintegerdialog.cpp
+++ b/src/gui/npcintegerdialog.cpp
@@ -107,5 +107,6 @@ void NpcIntegerDialog::action(const gcn::ActionEvent &event)
setVisible(false);
current_npc->integerInput(mValueField->getValue());
current_npc = 0;
+ mValueField->reset();
}
}