1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-07 07:10:04 +02:00

Fix overlaying UI elements when player has no account created

This commit is contained in:
Ivan Savenko 2024-03-30 13:51:42 +02:00
parent 651908d7aa
commit ee1aa4ed05

View File

@ -65,6 +65,7 @@ GlobalLobbyLoginWindow::GlobalLobbyLoginWindow()
{
buttonLogin->block(true);
toggleMode->setSelected(0);
onLoginModeChanged(0); // call it manually to disable widgets - toggleMode will not emit this call if this is currenly selected option
}
else
toggleMode->setSelected(1);