Fix handling of manipulator hotkey in unit search screen

develop
Anuradha Dissanayake 2012-11-25 19:01:58 +13:00 committed by Alexander Gavrilov
parent 8f0d552556
commit 593dc4f554
1 changed files with 2 additions and 1 deletions

@ -521,7 +521,8 @@ private:
virtual bool should_check_input(set<df::interface_key> *input) virtual bool should_check_input(set<df::interface_key> *input)
{ {
if (input->count(interface_key::CURSOR_LEFT) || input->count(interface_key::CURSOR_RIGHT) || input->count(interface_key::CUSTOM_L)) if (input->count(interface_key::CURSOR_LEFT) || input->count(interface_key::CURSOR_RIGHT) ||
(!is_entry_mode() && input->count(interface_key::UNITVIEW_PRF_PROF)))
{ {
if (!is_entry_mode()) if (!is_entry_mode())
{ {