mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: update dive site model if dive sites are created
Always keep the dive site model up to date when adding dive sites. This hopefully avoids creation of invalid indexes followed by crashes. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f18ea2e3b6
commit
0cce3ef2a8
2 changed files with 14 additions and 2 deletions
|
@ -236,6 +236,8 @@ private:
|
|||
QString m_progressMessage;
|
||||
bool m_btEnabled;
|
||||
void updateAllGlobalLists();
|
||||
void updateSiteList();
|
||||
void setupDivesite(struct dive *d, struct dive_site *ds, double lat, double lon, const char *locationtext);
|
||||
QString m_pluggedInDeviceName;
|
||||
bool m_showNonDiveComputers;
|
||||
struct dive *m_copyPasteDive = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue