We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0241c3b commit 0161cdaCopy full SHA for 0161cda
1 file changed
Source/Managers/ConsoleMan.cpp
@@ -295,8 +295,10 @@ void ConsoleMan::Update() {
295
}
296
297
if (!m_ReadOnly) {
298
- m_InputTextBox->SetEnabled(true);
299
- m_InputTextBox->SetFocus();
+ if (!m_InputTextBox->GetEnabled() || !m_InputTextBox->HasFocus()) {
+ m_InputTextBox->SetEnabled(true);
300
+ m_InputTextBox->SetFocus();
301
+ }
302
303
if (!m_InputLog.empty() && !g_UInputMan.FlagCtrlState()) {
304
if (g_UInputMan.KeyPressed(SDLK_UP)) {
0 commit comments