Bugfix: A user that was not online previously could not enter an online
username if a user with an online user name was shown before.
This commit is contained in:
@@ -280,6 +280,10 @@ void BaseUserScreen::makeEntryFieldsVisible()
|
||||
{
|
||||
getWidget<LabelWidget>("label_password")->setVisible(online);
|
||||
m_password_tb->setVisible(online);
|
||||
// Is user has no online name, make sure the user can enter one
|
||||
if (player->getLastOnlineName().empty())
|
||||
m_username_tb->setActivated();
|
||||
|
||||
}
|
||||
} // makeEntryFieldsVisible
|
||||
|
||||
|
||||
Reference in New Issue
Block a user