mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Add "reconnect" button to connection failure dialogs.
This commit is contained in:
parent
812f869669
commit
05f0ffd0ed
@ -348,6 +348,14 @@ bool View::Draw()
|
|||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
ImGui::SameLine();
|
||||||
|
if( ImGui::Button( "Reconnect" ) )
|
||||||
|
{
|
||||||
|
ImGui::CloseCurrentPopup();
|
||||||
|
ImGui::EndPopup();
|
||||||
|
s_instance->m_reconnectRequested = true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -362,6 +370,14 @@ bool View::Draw()
|
|||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
ImGui::SameLine();
|
||||||
|
if( ImGui::Button( "Reconnect" ) )
|
||||||
|
{
|
||||||
|
ImGui::CloseCurrentPopup();
|
||||||
|
ImGui::EndPopup();
|
||||||
|
s_instance->m_reconnectRequested = true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -376,6 +392,14 @@ bool View::Draw()
|
|||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
ImGui::SameLine();
|
||||||
|
if( ImGui::Button( "Reconnect" ) )
|
||||||
|
{
|
||||||
|
ImGui::CloseCurrentPopup();
|
||||||
|
ImGui::EndPopup();
|
||||||
|
s_instance->m_reconnectRequested = true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user