mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: remove autogroup global
Use the flag in the divelog structure, since this will be saved in the dive log. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
aa34afc3f7
commit
b61732da42
10 changed files with 23 additions and 29 deletions
|
@ -1720,7 +1720,7 @@ int QMLManager::addDive()
|
|||
// addDive takes over the dive and clears out the structure passed in
|
||||
// we do NOT save the modified data at this stage because of the UI flow here... this will
|
||||
// be saved once the user finishes editing the newly added dive
|
||||
Command::addDive(&d, autogroup, true);
|
||||
Command::addDive(&d, divelog.autogroup, true);
|
||||
|
||||
if (verbose)
|
||||
appendTextToLog(QString("Adding new dive with id '%1'").arg(diveId));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue