Fixed hanging dialog if no password was entered.

This commit is contained in:
hiker 2014-05-07 16:55:26 +10:00
parent 1eed1272ad
commit 6c9fbb8dec

View File

@ -337,6 +337,7 @@ void UserScreen::login(bool remember_me)
{
m_info_widget->setText(_("You need to enter a password."), true);
sfx_manager->quickSound("anvil");
m_options_widget->setActivated();
return;
}
profile->requestSignIn(m_username_tb->getText(),