diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2014-08-10 07:10:41 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-11 08:21:15 -0700 |
commit | 108fc892ca101929b101da08e02a6a587f7ca080 (patch) | |
tree | 87a2eb6c6225de18dd8209331684e10276eb0edc /qt-ui | |
parent | 10e70336c6fc45028c8b25dae99edaeb7b596137 (diff) | |
download | subsurface-108fc892ca101929b101da08e02a6a587f7ca080.tar.gz |
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>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/divelogexportdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelogexportdialog.cpp b/qt-ui/divelogexportdialog.cpp index f3f32949f..9ea203055 100644 --- a/qt-ui/divelogexportdialog.cpp +++ b/qt-ui/divelogexportdialog.cpp @@ -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(); } |