From 077585ba4d65a87300f8cc491d451235249f9534 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 30 Sep 2017 13:41:03 +0200 Subject: [PATCH] Allow switching to zone parent. --- server/TracyView.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b44eb1b7..ccea8645 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1269,6 +1269,14 @@ void View::DrawZoneInfoWindow() { ZoomToZone( ev ); } + ImGui::SameLine(); + if( ImGui::Button( "Go to parent" ) ) + { + if( ev.parent ) + { + m_zoneInfoWindow = ev.parent; + } + } ImGui::Separator();