diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 524c17f8..1fcd2bd3 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -348,6 +348,14 @@ bool View::Draw() ImGui::EndPopup(); return false; } + ImGui::SameLine(); + if( ImGui::Button( "Reconnect" ) ) + { + ImGui::CloseCurrentPopup(); + ImGui::EndPopup(); + s_instance->m_reconnectRequested = true; + return false; + } ImGui::EndPopup(); } @@ -362,6 +370,14 @@ bool View::Draw() ImGui::EndPopup(); return false; } + ImGui::SameLine(); + if( ImGui::Button( "Reconnect" ) ) + { + ImGui::CloseCurrentPopup(); + ImGui::EndPopup(); + s_instance->m_reconnectRequested = true; + return false; + } ImGui::EndPopup(); } @@ -376,6 +392,14 @@ bool View::Draw() ImGui::EndPopup(); return false; } + ImGui::SameLine(); + if( ImGui::Button( "Reconnect" ) ) + { + ImGui::CloseCurrentPopup(); + ImGui::EndPopup(); + s_instance->m_reconnectRequested = true; + return false; + } ImGui::EndPopup(); }