fix highlighting everything on strchoice page left/right
This commit is contained in:
@@ -248,6 +248,7 @@ void cStringChoice::clearHighlights() {
|
|||||||
|
|
||||||
bool cStringChoice::highlightSearch() {
|
bool cStringChoice::highlightSearch() {
|
||||||
bool match_on_page = false;
|
bool match_on_page = false;
|
||||||
|
if(search_str.empty()) return false;
|
||||||
|
|
||||||
for(int offset = 0; offset < per_page; ++offset){
|
for(int offset = 0; offset < per_page; ++offset){
|
||||||
std::string led_id = "led" + std::to_string(offset + 1);
|
std::string led_id = "led" + std::to_string(offset + 1);
|
||||||
|
Reference in New Issue
Block a user