fix(ui): explain why 'Add Microsoft' might be disabled
This commit is contained in:
parent
0854e83ce4
commit
159d868b77
@ -73,7 +73,10 @@ AccountListPage::AccountListPage(QWidget *parent)
|
|||||||
updateButtonStates();
|
updateButtonStates();
|
||||||
|
|
||||||
// Xbox authentication won't work without a client identifier, so disable the button if it is missing
|
// Xbox authentication won't work without a client identifier, so disable the button if it is missing
|
||||||
ui->actionAddMicrosoft->setVisible(!APPLICATION->getMSAClientID().isEmpty());
|
if (APPLICATION->getMSAClientID().isEmpty()) {
|
||||||
|
ui->actionAddMicrosoft->setVisible(false);
|
||||||
|
ui->actionAddMicrosoft->setToolTip(tr("No Microsoft Secured Account client ID was set."));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AccountListPage::~AccountListPage()
|
AccountListPage::~AccountListPage()
|
||||||
|
Loading…
Reference in New Issue
Block a user