Qt/AchievementSettings: Fix view profile button being disabled

This commit is contained in:
Connor McLaughlin 2021-03-17 00:41:22 +10:00
parent 4c76d88728
commit 3dc53dd93c
1 changed files with 2 additions and 1 deletions

View File

@ -83,8 +83,9 @@ void AchievementSettingsWidget::updateLoginState()
{
m_ui.loginStatus->setText(tr("Not Logged In."));
m_ui.loginButton->setText(tr("Login..."));
m_ui.viewProfile->setEnabled(false);
}
m_ui.viewProfile->setEnabled(logged_in);
}
void AchievementSettingsWidget::onLoginLogoutPressed()