summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 9be7dc5d9..920d362e0 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -1657,9 +1657,9 @@ QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const
return gases;
}
if (col == 2)
- return QString::number(dive->maxcns);
- if (col == 3)
return di.displaySac();
+ if (col == 3)
+ return QString::number(dive->maxcns);
if (col == 4) {
weight_t tw = { total_weight(dive) };
return get_weight_string(tw, true);