From 22e0323d6ad28933644cd98743d693c5f23f71a5 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 30 Nov 2013 19:10:47 +0200 Subject: Print: fix wrong Max. CNS / SAC columns Swap the places of the CNS and SAC values in the profile tables. Signed-off-by: Lubomir I. Ivanov --- qt-ui/models.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-ui') 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); -- cgit v1.2.3-70-g09d2