Allow viewing callstack from zone info window.

This commit is contained in:
Bartosz Taudul 2018-06-22 01:21:51 +02:00
parent 5e01a8ead9
commit e40c5068c9

View File

@ -2778,6 +2778,14 @@ void View::DrawZoneInfoWindow()
{
m_findZone.ShowZone( ev.srcloc, m_worker.GetString( srcloc.name.active ? srcloc.name : srcloc.function ) );
}
if( ev.callstack != 0 )
{
ImGui::SameLine();
if( ImGui::Button( "Callstack" ) )
{
m_callstackInfoWindow = ev.callstack;
}
}
if( !m_zoneInfoStack.empty() )
{
ImGui::SameLine();