Qt/AchievementSettings: Fix view profile button being disabled
This commit is contained in:
parent
4c76d88728
commit
3dc53dd93c
|
@ -83,8 +83,9 @@ void AchievementSettingsWidget::updateLoginState()
|
||||||
{
|
{
|
||||||
m_ui.loginStatus->setText(tr("Not Logged In."));
|
m_ui.loginStatus->setText(tr("Not Logged In."));
|
||||||
m_ui.loginButton->setText(tr("Login..."));
|
m_ui.loginButton->setText(tr("Login..."));
|
||||||
m_ui.viewProfile->setEnabled(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_ui.viewProfile->setEnabled(logged_in);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AchievementSettingsWidget::onLoginLogoutPressed()
|
void AchievementSettingsWidget::onLoginLogoutPressed()
|
||||||
|
|
Loading…
Reference in New Issue