diff options
-rw-r--r-- | qt-ui/profile/diveprofileitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp index 11d80e96b..e7cf7cf03 100644 --- a/qt-ui/profile/diveprofileitem.cpp +++ b/qt-ui/profile/diveprofileitem.cpp @@ -432,7 +432,7 @@ void DiveCalculatedTissue::preferencesChanged() { QSettings s; s.beginGroup("TecDetails"); - setVisible(s.value("calcalltissues").toBool()); + setVisible(s.value("calcalltissues").toBool() && s.value("calcceiling").toBool()); } void DiveReportedCeiling::modelDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) |