Fix hiding the tissues when user set 'show ceiling' to false.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7b9400685d
commit
dc077e7bff
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user