Display trace parameters only when the connection is active.

This commit is contained in:
Bartosz Taudul 2019-11-26 00:57:06 +01:00
parent 7963617f86
commit cc87cebee3

View File

@ -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;
}