summaryrefslogtreecommitdiff
path: root/src/gui/npcstringdialog.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/npcstringdialog.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/npcstringdialog.cpp')
-rw-r--r--src/gui/npcstringdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/npcstringdialog.cpp b/src/gui/npcstringdialog.cpp
index da7048a6..500875be 100644
--- a/src/gui/npcstringdialog.cpp
+++ b/src/gui/npcstringdialog.cpp
@@ -69,6 +69,7 @@ void NpcStringDialog::action(const gcn::ActionEvent &event)
setVisible(false);
current_npc->stringInput(mValueField->getText());
current_npc = 0;
+ mValueField->setText("");
}
bool NpcStringDialog::isInputFocused()