\n";
matchedrow = false;
- if (results->item(i, 0)->data(Qt::DisplayRole).toString().compare("*") == 0) {
+ if (resultsmodel->itemFromIndex(resultsproxymodel->mapToSource(resultsproxymodel->index(i, 0)))->data(Qt::DisplayRole).toString().compare("*") == 0) {
matchedrow = true;
}
- for (int j = 0; j < results->columnCount(); j++) {
+ for (int j = 0; j < resultsmodel->columnCount(); j++) {
+ item = resultsmodel->itemFromIndex(resultsproxymodel->mapToSource(resultsproxymodel->index(i, j)));
out << "" << results->item(i, j)->data(Qt::DisplayRole).toString() << " | \n";
+ out << ">" << item->data(Qt::DisplayRole).toString() << "\n";
}
out << "
\n";
@@ -1200,6 +1241,9 @@ void cMainWindow::exportToHTML() {
columncount = 9;
}
}
+ else if (parameters.mode == denovoengine) {
+ columncount = 8;
+ }
else {
columncount = 7;
}
@@ -1215,7 +1259,12 @@ void cMainWindow::exportToHTML() {
}
out << "