mirror of
https://github.com/wolfpld/tracy.git
synced 2024-09-20 05:42:18 +00: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();
|
||||
}
|
||||
|
||||
if( m_worker.IsConnected() )
|
||||
{
|
||||
const auto& params = m_worker.GetParameters();
|
||||
if( !params.empty() )
|
||||
{
|
||||
@ -1112,6 +1114,7 @@ bool View::DrawConnection()
|
||||
ImGui::TreePop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user