Berthold Stoeger 75be9e727d 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>
2019-08-11 12:23:33 -07:00
..
2019-08-08 08:56:44 -07:00
2019-08-08 16:26:31 -07:00
2019-08-08 16:26:31 -07:00
2017-04-29 13:32:55 -07:00
2018-10-21 19:55:09 +03:00
2019-08-11 08:20:38 +02:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2019-07-18 06:01:07 -07:00
2019-08-08 16:26:31 -07:00
2019-05-29 15:04:33 +03:00
2019-08-10 20:59:53 +02:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2019-07-18 06:01:07 -07:00
2017-04-29 13:32:55 -07:00