From dca7c67105c89b003910da70e80ed7b54325da97 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sat, 29 Jul 2023 00:27:07 -0500 Subject: [PATCH] VideoCommon: update NetplayChatUI's chat message input to use a hidden label. This avoids an error thrown by imgui --- Source/Core/VideoCommon/NetPlayChatUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/NetPlayChatUI.cpp b/Source/Core/VideoCommon/NetPlayChatUI.cpp index c9db29af64..c1217d041d 100644 --- a/Source/Core/VideoCommon/NetPlayChatUI.cpp +++ b/Source/Core/VideoCommon/NetPlayChatUI.cpp @@ -57,7 +57,7 @@ void NetPlayChatUI::Display() ImGui::PushItemWidth(-50.0f * scale); - if (ImGui::InputText("", m_message_buf, IM_ARRAYSIZE(m_message_buf), + if (ImGui::InputText("##NetplayMessageBuffer", m_message_buf, IM_ARRAYSIZE(m_message_buf), ImGuiInputTextFlags_EnterReturnsTrue)) { SendMessage();