From 991fb3cea21c5bdfa57bdf2f07a9c7beace16ab5 Mon Sep 17 00:00:00 2001 From: lethosor Date: Wed, 10 Sep 2014 16:57:19 -0400 Subject: [PATCH] Change search key from 's' to 'q' on unit/job lists Avoids a conflict with the "suspend job" option (added in 0.40.12) --- plugins/search.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/search.cpp b/plugins/search.cpp index 0309e4861..90a146c32 100644 --- a/plugins/search.cpp +++ b/plugins/search.cpp @@ -998,6 +998,11 @@ private: return true; } + char get_search_select_key() + { + return 'q'; + } + vector *get_secondary_list() { return &viewscreen->jobs[viewscreen->page]; @@ -1568,6 +1573,11 @@ private: return desc; } + char get_search_select_key() + { + return 'q'; + } + vector *get_secondary_list() { return &viewscreen->units;