summaryrefslogtreecommitdiff
path: root/plugins/manipulator.cpp
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-09-28 13:32:41 +0400
committerAlexander Gavrilov2012-09-28 13:32:41 +0400
commitbd7cd690aa4260d4df9625a124a2a15480bdd848 (patch)
treef8b448dc93c1e3e21d8a2890b9123b1a5b69e9b4 /plugins/manipulator.cpp
parent7e0365857d4af487ad07dfb43a85ed7b789075aa (diff)
downloaddfhack-bd7cd690aa4260d4df9625a124a2a15480bdd848.tar.gz
dfhack-bd7cd690aa4260d4df9625a124a2a15480bdd848.tar.bz2
dfhack-bd7cd690aa4260d4df9625a124a2a15480bdd848.tar.xz
Implement the common suggestion of Shift-Enter in trade screens.
Diffstat (limited to 'plugins/manipulator.cpp')
-rw-r--r--plugins/manipulator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/manipulator.cpp b/plugins/manipulator.cpp
index 0b0b99d4..f3c6664a 100644
--- a/plugins/manipulator.cpp
+++ b/plugins/manipulator.cpp
@@ -523,6 +523,7 @@ void viewscreen_unitlaborsst::feed(set<df::interface_key> *events)
{
events->insert(interface_key::LEAVESCREEN);
parent->feed(events);
+ events->clear();
}
return;
}