update search highlights when paging left/right. fix #791
This commit is contained in:
@@ -143,6 +143,8 @@ bool cStringChoice::onLeft(){
|
||||
if(page == 0) page = lastPage();
|
||||
else page--;
|
||||
fillPage();
|
||||
clearHighlights();
|
||||
highlightSearch();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -154,6 +156,8 @@ bool cStringChoice::onRight(){
|
||||
if(page == lastPage()) page = 0;
|
||||
else page++;
|
||||
fillPage();
|
||||
clearHighlights();
|
||||
highlightSearch();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user