diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-08-10 17:53:11 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-08-11 12:23:33 -0700 |
commit | 75be9e727d12ebd122f5dc96737248067afc9629 (patch) | |
tree | 78c7c38a65561cef9452ba59e169ab44fd6cc3eb /CHANGELOG.md | |
parent | 624ab3bf9e7785eebcacc38e896f501f1db1fe8d (diff) | |
download | subsurface-75be9e727d12ebd122f5dc96737248067afc9629.tar.gz |
Mobile: properly recognize single-weightsystem dives
When removing the max-weightsystem restriction, the semantics of
the DiveObjectHelper::singleWeightSystem() function changed:
it now returned false for "no weightsystem". Change it back,
to 0 or 1 weightsystems, because the mobile frontend uses this
to check whether it can edit dive systems.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions