diff options
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index 3f740c3e4..3855cef11 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -254,7 +254,7 @@ QStringList DiveObjectHelper::weights() const bool DiveObjectHelper::singleWeight() const { - return m_dive->weightsystems.nr == 1; + return m_dive->weightsystems.nr <= 1; } QString DiveObjectHelper::weight(int idx) const |