changeset 71:7e195eacb0da

Acutally write unfilled choices in XLSX
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 29 Sep 2016 14:45:35 +0200
parents 3438f5cce8cc
children d545e5cb2b72
files src/converter.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/converter.cpp	Thu Sep 29 14:41:48 2016 +0200
+++ b/src/converter.cpp	Thu Sep 29 14:45:35 2016 +0200
@@ -290,6 +290,7 @@
                 qDebug() << "Captured unfilled choice: " << choice;
                 html << mChoiceTextStyle.arg(choice.toHtmlEscaped());
                 makeBar(html, 0, doc);
+                xlsx.write(row, 1, choice);
                 xlsx.write(row, 2, QVariant());
                 const QString numVotesString = QStringLiteral("Keine eingegangenen Antworten");
                 html << mChoiceVotesStyle.arg(numVotesString.toHtmlEscaped());
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)