1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

stop text input on connection start

This commit is contained in:
Andrey Filipenkov
2022-08-16 13:16:27 +03:00
parent 3ab21d8491
commit ef2e45a977

View File

@@ -492,6 +492,7 @@ void CSimpleJoinScreen::connectToServer()
{
textTitle->setText("Connecting...");
buttonOk->block(true);
CSDL_Ext::stopTextInput();
boost::thread(&CSimpleJoinScreen::connectThread, this, inputAddress->text, boost::lexical_cast<ui16>(inputPort->text));
}