summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2015-01-22 11:33:10 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-22 21:48:57 +1200
commitffdb78a3dce0e41d45ed0c3701f10f1ba8e95c26 (patch)
tree74661ddd80a9701eab62782d955b0c52b5f29a43
parentc1f716614f92ad078e3e0cac60eb86627d2033ab (diff)
downloadsubsurface-ffdb78a3dce0e41d45ed0c3701f10f1ba8e95c26.tar.gz
Fix order of CSV field separators
Unfortunately we are referencing these separators with index, so they need to be on same order as used in XSLT files. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/divelogimportdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index f275f2f79..2f3279794 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -323,7 +323,7 @@ DiveLogImportDialog::DiveLogImportDialog(QStringList fn, QWidget *parent) : QDia
for (int i = 0; !CSVApps[i].name.isNull(); ++i)
ui->knownImports->addItem(CSVApps[i].name);
- ui->CSVSeparator->addItems( QStringList() << tr("Tab") << ";" << ",");
+ ui->CSVSeparator->addItems( QStringList() << tr("Tab") << "," << ";");
loadFileContents(-1, INITIAL);