mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Display trace parameters only when the connection is active.
This commit is contained in:
parent
7963617f86
commit
cc87cebee3
@ -1070,6 +1070,8 @@ bool View::DrawConnection()
|
|||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( m_worker.IsConnected() )
|
||||||
|
{
|
||||||
const auto& params = m_worker.GetParameters();
|
const auto& params = m_worker.GetParameters();
|
||||||
if( !params.empty() )
|
if( !params.empty() )
|
||||||
{
|
{
|
||||||
@ -1112,6 +1114,7 @@ bool View::DrawConnection()
|
|||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user