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
@ -182,8 +182,8 @@ void DiveLogExportDialog::exportHTMLstatistics(const QString &filename)
|
||||
total_stats.total_time.seconds += stats_yearly[i].total_time.seconds;
|
||||
i++;
|
||||
}
|
||||
exportHTMLstatisticsTotal(out, &total_stats);
|
||||
}
|
||||
exportHTMLstatisticsTotal(out, &total_stats);
|
||||
out << "]";
|
||||
file.close();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user