mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Allow connecting to broadcasting clients.
This commit is contained in:
parent
67daff1452
commit
5a359aa376
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user