From 7c13d69ed3739668bff47728a8976131cd00d5a4 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sun, 18 Jan 2009 21:52:29 -0700 Subject: Reset the input fields so that they're reset when they're brought up again. Signed-off-by: Ira Rice --- src/gui/npcintegerdialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/npcintegerdialog.cpp') 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(); } } -- cgit v1.2.3-70-g09d2