diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-11-30 19:10:47 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-11-30 19:10:47 +0200 |
commit | 22e0323d6ad28933644cd98743d693c5f23f71a5 (patch) | |
tree | a8541a07363fecd24eb81db44a1a1152edde593b | |
parent | 1ab915a7d9fa26db75c5d26b0a5d6a009efa4f58 (diff) | |
download | subsurface-22e0323d6ad28933644cd98743d693c5f23f71a5.tar.gz |
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 <neolit123@gmail.com>
-rw-r--r-- | qt-ui/models.cpp | 4 |
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); |