diff options
| author | Al12rs <gabriel.cortesi@outlook.com> | 2018-12-10 20:53:45 +0100 |
|---|---|---|
| committer | Al12rs <gabriel.cortesi@outlook.com> | 2018-12-10 20:53:45 +0100 |
| commit | f61236e4cf13786ab8606ba5ff33e6d7164cc63e (patch) | |
| tree | 3fa5eaf22340925f3b9439c8e8fcc0cee56c43e1 /src | |
| parent | d7e6fd1dd65edc265b8d44928dc02cd4c76af069 (diff) | |
Added UI locking while loadbar is active (for refresh of modlist).
Diffstat (limited to 'src')
| -rw-r--r-- | src/mainwindow.cpp | 2 |
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);
|
