diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-07-11 13:15:21 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-07-11 10:37:49 -0700 |
commit | 912e1faaf21afbfac0cec07db036d97b13ed847c (patch) | |
tree | be163ed3780ee79cd2bda0b5a27842cb29516109 /qt-models/cylindermodel.h | |
parent | 4ec88aa564d7f5b02fda66342b11ba03fc82d7cf (diff) | |
download | subsurface-912e1faaf21afbfac0cec07db036d97b13ed847c.tar.gz |
Make MND display depend on O2 narcotic preference
A while ago, we introduced a preference whether O2 should
be considered narcotic. We used this when computing
best mix or when entering the He content via MND. But
we forgot to make the displayed MND depend on this
preference. This patch add this.
Fixes #2895
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'qt-models/cylindermodel.h')
-rw-r--r-- | qt-models/cylindermodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/cylindermodel.h b/qt-models/cylindermodel.h index b8ed7e0eb..e7477193e 100644 --- a/qt-models/cylindermodel.h +++ b/qt-models/cylindermodel.h @@ -49,6 +49,7 @@ public: void moveAtFirst(int cylid); QVariant headerData(int section, Qt::Orientation orientation, int role) const override; bool updateBestMixes(); + void emitDataChanged(); bool cylinderUsed(int i) const; signals: |