GH-1798 Do not enable skin upload button without selected account.
This commit is contained in:
parent
cf43abc87e
commit
c7f89ec6b5
@ -109,6 +109,7 @@ void AccountListPage::updateButtonStates()
|
|||||||
|
|
||||||
ui->rmAccountBtn->setEnabled(selection.size() > 0);
|
ui->rmAccountBtn->setEnabled(selection.size() > 0);
|
||||||
ui->setDefaultBtn->setEnabled(selection.size() > 0);
|
ui->setDefaultBtn->setEnabled(selection.size() > 0);
|
||||||
|
ui->uploadSkinBtn->setEnabled(selection.size() > 0);
|
||||||
|
|
||||||
ui->noDefaultBtn->setDown(m_accounts->activeAccount().get() == nullptr);
|
ui->noDefaultBtn->setDown(m_accounts->activeAccount().get() == nullptr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user