Redraw after running auto channel refresh

This commit is contained in:
Daniel Schulte 2020-12-16 19:50:16 +01:00
parent 9ae8dff7d9
commit fdc597c8d3
1 changed files with 1 additions and 0 deletions

View File

@ -663,6 +663,7 @@ static void run()
if(auto_refresh_interval != -1 && update_pending && inactivity_threshold) { if(auto_refresh_interval != -1 && update_pending && inactivity_threshold) {
action_refresh_all_channels(false); action_refresh_all_channels(false);
next_update = std::chrono::system_clock::now() + std::chrono::seconds(auto_refresh_interval); next_update = std::chrono::system_clock::now() + std::chrono::seconds(auto_refresh_interval);
draw = true;
} }
} else if(tui_handle_action(*event, actions)) { } else if(tui_handle_action(*event, actions)) {
last_user_action = std::chrono::system_clock::now(); last_user_action = std::chrono::system_clock::now();