mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
Modified rdairplay(1) to always scroll log to the top when using
the hour selector.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user