diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-09-23 12:16:45 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-23 12:16:45 -0700 |
commit | c9f72e510a655fdca7c35be688d96f8c05659bc8 (patch) | |
tree | b6205cfa7ed4d403beb4ae694e7aba65809fdf9f /qt-ui | |
parent | 48e47c904842c83e7693680c7cd38775072d42bb (diff) | |
download | subsurface-c9f72e510a655fdca7c35be688d96f8c05659bc8.tar.gz |
Show progress bar when loading from cloud storage by default
It turns out that I forgot to make sure that the progress bar is shown if
the user has things set up so that the cloud storage is the default dive
file that they open.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index eb02ae8c9..9feb8f684 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -1574,6 +1574,7 @@ void MainWindow::loadFiles(const QStringList fileNames) QByteArray fileNamePtr; QStringList failedParses; + showProgressBar(); for (int i = 0; i < fileNames.size(); ++i) { int error; @@ -1592,6 +1593,7 @@ void MainWindow::loadFiles(const QStringList fileNames) failedParses.append(fileNames.at(i)); } } + hideProgressBar(); if (!showWarning) getNotificationWidget()->hideNotification(); process_dives(false, false); |