summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.cpp
diff options
context:
space:
mode:
authorjurkan <jurkan@gmx.de>2012-08-02 00:12:46 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-08-02 00:55:05 +0200
commit888fca5e3c889f93b4831cb3f671eb61c6816336 (patch)
tree205f509c75d32c237b8b22932b3ced3fd70f28ef /src/gui/npcdialog.cpp
parent9654a6554c9a42e13f641f8f52e04246d96882b8 (diff)
downloadmana-888fca5e3c889f93b4831cb3f671eb61c6816336.tar.gz
mana-888fca5e3c889f93b4831cb3f671eb61c6816336.tar.bz2
mana-888fca5e3c889f93b4831cb3f671eb61c6816336.tar.xz
mana-888fca5e3c889f93b4831cb3f671eb61c6816336.zip
Removing the need to press space twice to close a dialog (probably a hack)
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r--src/gui/npcdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index 3a7db8ef..5f6f0ddf 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -189,6 +189,7 @@ void NpcDialog::setStateClose()
{
mActionState = NPC_ACTION_CLOSE;
buildLayout();
+ proceed();
}
void NpcDialog::keyPressed(gcn::KeyEvent &keyEvent)