summaryrefslogtreecommitdiff
path: root/src/gui/npcstringdialog.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-18 14:20:14 -0600
committerIra Rice <irarice@gmail.com>2009-03-18 19:55:11 -0600
commit6f0d88e781c8b1a75858c769b3641aa8cd477314 (patch)
tree98891d219272074e437cd58087a7aaafc463c40a /src/gui/npcstringdialog.cpp
parent74fa304602e0e7ad845e606db8868b32f1d10864 (diff)
downloadmana-6f0d88e781c8b1a75858c769b3641aa8cd477314.tar.gz
mana-6f0d88e781c8b1a75858c769b3641aa8cd477314.tar.bz2
mana-6f0d88e781c8b1a75858c769b3641aa8cd477314.tar.xz
mana-6f0d88e781c8b1a75858c769b3641aa8cd477314.zip
Fix up the NPC interraction widnows a bit
Diffstat (limited to 'src/gui/npcstringdialog.cpp')
-rw-r--r--src/gui/npcstringdialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/npcstringdialog.cpp b/src/gui/npcstringdialog.cpp
index f50136ba..43d0722f 100644
--- a/src/gui/npcstringdialog.cpp
+++ b/src/gui/npcstringdialog.cpp
@@ -64,9 +64,7 @@ void NpcStringDialog::setValue(const std::string &value)
void NpcStringDialog::action(const gcn::ActionEvent &event)
{
if (event.getId() == "cancel")
- {
mValueField->setText("");
- }
setVisible(false);
NPC::mTalking = false;