From c7f89ec6b52bad427caed008d7919cef45518285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 22 Jan 2017 15:45:57 +0100 Subject: [PATCH] GH-1798 Do not enable skin upload button without selected account. --- application/pages/global/AccountListPage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/application/pages/global/AccountListPage.cpp b/application/pages/global/AccountListPage.cpp index 73a00f2af..8edcad98f 100644 --- a/application/pages/global/AccountListPage.cpp +++ b/application/pages/global/AccountListPage.cpp @@ -109,6 +109,7 @@ void AccountListPage::updateButtonStates() ui->rmAccountBtn->setEnabled(selection.size() > 0); ui->setDefaultBtn->setEnabled(selection.size() > 0); + ui->uploadSkinBtn->setEnabled(selection.size() > 0); ui->noDefaultBtn->setDown(m_accounts->activeAccount().get() == nullptr); }