summaryrefslogtreecommitdiffstats
path: root/qt-models/cylindermodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/cylindermodel.cpp')
-rw-r--r--qt-models/cylindermodel.cpp5
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