aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/help/GnupgTab.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-04-30 17:58:11 +0000
committersaturneric <[email protected]>2024-04-30 17:58:11 +0000
commit87dc0be5873c144513eace2abc0460657c2723eb (patch)
treeca16caee6d6b0e8679af5fdaf07870fa4b131411 /src/ui/dialog/help/GnupgTab.cpp
parentfix: can not find mods on macos platform (diff)
downloadGpgFrontend-87dc0be5873c144513eace2abc0460657c2723eb.tar.gz
GpgFrontend-87dc0be5873c144513eace2abc0460657c2723eb.zip
feat: add progress bar at gnupg info tab
Diffstat (limited to 'src/ui/dialog/help/GnupgTab.cpp')
-rw-r--r--src/ui/dialog/help/GnupgTab.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/dialog/help/GnupgTab.cpp b/src/ui/dialog/help/GnupgTab.cpp
index 3dfdd994..07f07b82 100644
--- a/src/ui/dialog/help/GnupgTab.cpp
+++ b/src/ui/dialog/help/GnupgTab.cpp
@@ -296,6 +296,9 @@ void GnupgTab::process_software_info() {
row++;
}
}
+
+ ui_->loadProgressBar->hide();
+ ui_->tabWidget->setDisabled(false);
// ui_->configurationDetailsTable->resizeColumnsToContents();
}
@@ -306,6 +309,9 @@ void GnupgTab::gather_gnupg_info() {
"module gnupg_info_gathering is activated, "
"loading external gnupg info...");
+ ui_->loadProgressBar->show();
+ ui_->tabWidget->setDisabled(true);
+
// gather external gnupg info
Module::TriggerEvent(
"REQUEST_GATHERING_GNUPG_INFO",