Modified rdairplay(1) to always scroll log to the top when using

the hour selector.
This commit is contained in:
Patrick Linstruth
2020-04-01 08:44:41 -07:00
parent d0c232eef1
commit d7253e31c1
2 changed files with 5 additions and 0 deletions

View File

@@ -586,6 +586,8 @@ void ListLog::selectHour(int hour)
while(item!=NULL) {
if(PredictedStartHour(item)==hour) {
list_log_list->clearSelection();
// Always start from the bottom so visible item is at the top
list_log_list->ensureItemVisible(list_log_list->lastItem());
list_log_list->ensureItemVisible(item);
list_log_list->setSelected(item,true);
return;