mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
1ab915a7d9
commit
22e0323d6a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue