diff --git a/ImGuiVisitor.cpp b/ImGuiVisitor.cpp index 572ef5b..a4aeb28 100644 --- a/ImGuiVisitor.cpp +++ b/ImGuiVisitor.cpp @@ -544,13 +544,10 @@ void ImGuiVisitor::visit (NetworkSource& s) ImGui::Text(" - %s (%dx%d)\n - Network host %s:%d", NetworkToolkit::protocol_name[ns->protocol()], ns->resolution().x, ns->resolution().y, ns->IP().c_str(), ns->port()); - if ( !ns->connected()) { - - if ( ImGui::Button("Interrupted - Reload", ImVec2(IMGUI_RIGHT_ALIGN, 0)) ) - { - // TODO : reload ? - s.setConnection(s.connection()); - } + if ( ImGui::Button("Reconnect", ImVec2(IMGUI_RIGHT_ALIGN, 0)) ) + { + // TODO : reload ? + s.setConnection(s.connection()); }