Change search key from 's' to 'q' on unit/job lists

Avoids a conflict with the "suspend job" option (added in 0.40.12)
develop
lethosor 2014-09-10 16:57:19 -04:00
parent c4d6c384ae
commit 991fb3cea2
1 changed files with 10 additions and 0 deletions

@ -998,6 +998,11 @@ private:
return true; return true;
} }
char get_search_select_key()
{
return 'q';
}
vector<df::job*> *get_secondary_list() vector<df::job*> *get_secondary_list()
{ {
return &viewscreen->jobs[viewscreen->page]; return &viewscreen->jobs[viewscreen->page];
@ -1568,6 +1573,11 @@ private:
return desc; return desc;
} }
char get_search_select_key()
{
return 'q';
}
vector<df::unit*> *get_secondary_list() vector<df::unit*> *get_secondary_list()
{ {
return &viewscreen->units; return &viewscreen->units;