mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
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:
parent
9de9b8c680
commit
da57279d9a
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user