summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index c1e00feb..97b6cd43 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2105,7 +2105,9 @@ void MainWindow::refresher_progress(int percent)
if (percent == 100) {
m_RefreshProgress->setVisible(false);
statusBar()->hide();
+ this->setEnabled(true);
} else if (!m_RefreshProgress->isVisible()) {
+ this->setEnabled(false);
statusBar()->show();
m_RefreshProgress->setVisible(true);
m_RefreshProgress->setRange(0, 100);