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>
This commit is contained in:
Lubomir I. Ivanov 2013-11-30 19:10:47 +02:00
parent 1ab915a7d9
commit 22e0323d6a

View file

@ -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);