aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui
diff options
context:
space:
mode:
authorGingeh <39150378+Gingeh@users.noreply.github.com>2022-06-30 09:08:30 +1000
committerGingeh <39150378+Gingeh@users.noreply.github.com>2022-06-30 09:08:53 +1000
commitbef79df6bba3c04737529e2631a88d27d6b37471 (patch)
tree7b7bfb9138ca1ad9bb3df06cc09fd409c658ec89 /launcher/ui
parent2edabe0f994ce7875fe6f38ec3e21daf9095c4da (diff)
downloadPrismLauncher-bef79df6bba3c04737529e2631a88d27d6b37471.tar.gz
PrismLauncher-bef79df6bba3c04737529e2631a88d27d6b37471.tar.bz2
PrismLauncher-bef79df6bba3c04737529e2631a88d27d6b37471.zip
Disable the refresh button for offline accounts
Diffstat (limited to 'launcher/ui')
-rw-r--r--launcher/ui/pages/global/AccountListPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp
index 5447a07b..f90ba863 100644
--- a/launcher/ui/pages/global/AccountListPage.cpp
+++ b/launcher/ui/pages/global/AccountListPage.cpp
@@ -269,7 +269,7 @@ void AccountListPage::updateButtonStates()
ui->actionSetDefault->setEnabled(accountIsReady);
ui->actionUploadSkin->setEnabled(accountIsReady && accountIsOnline);
ui->actionDeleteSkin->setEnabled(accountIsReady && accountIsOnline);
- ui->actionRefresh->setEnabled(accountIsReady);
+ ui->actionRefresh->setEnabled(accountIsReady && accountIsOnline);
if(m_accounts->defaultAccount().get() == nullptr) {
ui->actionNoDefault->setEnabled(false);