diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 7287863e..ec432f30 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -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( v.second.address.c_str(), fixedWidth, SetWindowTitleCallback ); + } ImGui::NextColumn(); if( badProto ) {