Allow connecting to broadcasting clients.

This commit is contained in:
Bartosz Taudul 2019-06-17 19:50:34 +02:00
parent 67daff1452
commit 5a359aa376

View File

@ -471,7 +471,10 @@ int main( int argc, char** argv )
bool sel = false;
ImGuiSelectableFlags flags = ImGuiSelectableFlags_SpanAllColumns;
if( badProto ) flags |= ImGuiSelectableFlags_Disabled;
ImGui::Selectable( v.second.address.c_str(), &sel, flags );
if( ImGui::Selectable( v.second.address.c_str(), &sel, flags ) && !loadThread.joinable() )
{
view = std::make_unique<tracy::View>( v.second.address.c_str(), fixedWidth, SetWindowTitleCallback );
}
ImGui::NextColumn();
if( badProto )
{