mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
48e47c9048
commit
c9f72e510a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue