QML UI: after successfully opening storage, store the filename
We rely on the filename being valid elsewhere in the code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6a23e0ef66
commit
961b80ec20
@ -149,6 +149,7 @@ void QMLManager::openLocalThenRemote(QString url)
|
||||
DiveListModel::instance()->addAllDives();
|
||||
appendTextToLog(QStringLiteral("%1 dives loaded from cache").arg(dive_table.nr));
|
||||
}
|
||||
set_filename(fileNamePrt.data(), true);
|
||||
appendTextToLog(QStringLiteral("have cloud credentials, trying to connect"));
|
||||
tryRetrieveDataFromBackend();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user