mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 08:43:24 +00:00
HTML: Don't export total statistics value if not chosen
Don't export total row in yearly statistics unless exporting the statistics is checked Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
10e70336c6
commit
108fc892ca
1 changed files with 1 additions and 1 deletions
|
@ -182,8 +182,8 @@ void DiveLogExportDialog::exportHTMLstatistics(const QString &filename)
|
||||||
total_stats.total_time.seconds += stats_yearly[i].total_time.seconds;
|
total_stats.total_time.seconds += stats_yearly[i].total_time.seconds;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
exportHTMLstatisticsTotal(out, &total_stats);
|
exportHTMLstatisticsTotal(out, &total_stats);
|
||||||
|
}
|
||||||
out << "]";
|
out << "]";
|
||||||
file.close();
|
file.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue