mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
mobile: dive_table.preexisting not set importing from mobile
Searching why the mobile app also downloads pre existing dives, it appears that in the mobile app, the preexisting attribute is 0, where it should be the number of dives before the download. This is easily solved by adding the correct setting on the download thread. This solves the issue of downloading pre existing dives. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
8d42d33f93
commit
88738ede30
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ void DownloadThread::run()
|
|||
|
||||
downloadTable.nr = 0;
|
||||
qDebug() << "Starting the thread" << downloadTable.nr;
|
||||
dive_table.preexisting = dive_table.nr;
|
||||
|
||||
Q_ASSERT(internalData->download_table != nullptr);
|
||||
const char *errorText;
|
||||
|
|
Loading…
Reference in a new issue