pstats: Fix GTK strip chart total label and window title not updating

...when navigating around in a session that is not being updated automatically (eg. loaded from file)
This commit is contained in:
rdb 2023-08-28 13:04:05 +02:00
parent 9de9b8c680
commit da57279d9a

View File

@ -84,7 +84,8 @@ GtkStatsStripChart(GtkStatsMonitor *monitor, int thread_index,
clear_region(); clear_region();
update(); // Update window title and total label.
new_data(0, 0);
} }
/** /**
@ -204,6 +205,9 @@ on_click_label(int collector_index) {
// Clicking on any other label means to focus on that. // Clicking on any other label means to focus on that.
set_collector_index(collector_index); set_collector_index(collector_index);
} }
// Update window title and total label.
new_data(0, 0);
} }
/** /**