diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 954d8d5b..0377e94c 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -6882,7 +6882,14 @@ void View::DrawFrameTreeLevel( std::vector& tree, int& idx ) else { ImGui::PushID( lidx++ ); - expand = ImGui::TreeNode( m_worker.GetString( frame->name ) ); + if( tree.size() == 1 ) + { + expand = ImGui::TreeNodeEx( m_worker.GetString( frame->name ), ImGuiTreeNodeFlags_DefaultOpen ); + } + else + { + expand = ImGui::TreeNode( m_worker.GetString( frame->name ) ); + } ImGui::PopID(); }