diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-03-13 08:25:32 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-03-13 10:26:18 -0700 |
commit | 8834fc0443aadfe4e98a2b8db3253a9bf61645f8 (patch) | |
tree | 7c12ecf0c6e00aca283c85d5467e2369d1d1d061 /qt-models/cylindermodel.cpp | |
parent | 2b5a2352eadfe992319910495cc11a0a83c4a6cd (diff) | |
download | subsurface-8834fc0443aadfe4e98a2b8db3253a9bf61645f8.tar.gz |
Correctly trigger update of cylinder table trash icons in planner
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'qt-models/cylindermodel.cpp')
-rw-r--r-- | qt-models/cylindermodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp index ad6c502a5..bca6003b9 100644 --- a/qt-models/cylindermodel.cpp +++ b/qt-models/cylindermodel.cpp @@ -600,6 +600,11 @@ void CylindersModel::updateDecoDepths(pressure_t olddecopo2) emit dataChanged(createIndex(0, 0), createIndex(MAX_CYLINDERS - 1, COLUMNS - 1)); } +void CylindersModel::updateTrashIcon() +{ + emit dataChanged(createIndex(0, 0), createIndex(MAX_CYLINDERS - 1, 0)); +} + bool CylindersModel::updateBestMixes() { // Check if any of the cylinders are best mixes, update if needed |