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:
@@ -492,6 +492,7 @@ void CSimpleJoinScreen::connectToServer()
|
|||||||
{
|
{
|
||||||
textTitle->setText("Connecting...");
|
textTitle->setText("Connecting...");
|
||||||
buttonOk->block(true);
|
buttonOk->block(true);
|
||||||
|
CSDL_Ext::stopTextInput();
|
||||||
|
|
||||||
boost::thread(&CSimpleJoinScreen::connectThread, this, inputAddress->text, boost::lexical_cast<ui16>(inputPort->text));
|
boost::thread(&CSimpleJoinScreen::connectThread, this, inputAddress->text, boost::lexical_cast<ui16>(inputPort->text));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user