From c31303c6af77a47e61efd94022302f860ed5ebfc Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Tue, 4 Jun 2019 21:15:54 -0400
Subject: fixed title on the manual key dialog disabled disconnect and manual
key buttons while fetching the api key
---
src/nexusmanualkey.ui | 2 +-
src/settingsdialog.cpp | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
(limited to 'src')
diff --git a/src/nexusmanualkey.ui b/src/nexusmanualkey.ui
index 1a842dc3..847bdd61 100644
--- a/src/nexusmanualkey.ui
+++ b/src/nexusmanualkey.ui
@@ -11,7 +11,7 @@
- Dialog
+ Manual Nexus API Key
-
diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp
index 0373cef6..b3e8c8a7 100644
--- a/src/settingsdialog.cpp
+++ b/src/settingsdialog.cpp
@@ -532,6 +532,8 @@ void SettingsDialog::updateNexusButtons()
// api key is in the process of being retrieved
ui->nexusConnect->setText("Connecting the API. Please login within the browser and accept the request. This will time out after 30 minutes.");
ui->nexusConnect->setEnabled(false);
+ ui->nexusDisconnect->setEnabled(false);
+ ui->nexusManualKey->setEnabled(false);
}
else if (m_settings->hasNexusApiKey()) {
// api key is present
--
cgit v1.3.1