Fix a bug in the last.fm settings page where logging in with invalid credentials wouldn't hide the busy spinner and re-enable the credential fields.

This commit is contained in:
David Sansome 2011-11-27 17:53:04 +00:00
parent 62c3cb77cd
commit 1e0a9e6d94

View File

@ -74,11 +74,11 @@ void LastFMSettingsPage::AuthenticationComplete(bool success) {
ui_->password->clear();
// Save settings
Save();
RefreshControls(true);
} else {
QMessageBox::warning(this, tr("Authentication failed"), tr("Your Last.fm credentials were incorrect"));
}
RefreshControls(success);
service_->UpdateSubscriberStatus();
}