aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2015-01-22 11:33:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-22 21:49:15 +1200
commita4c3e9cdc012a922bba792860b2424aafc2e33fb (patch)
treeb899064c7d5c425e6e8d6582a6046e50ac8e167f /qt-ui
parentf8f5e73dae5e597af3d90ddb04390f43a8458059 (diff)
downloadsubsurface-a4c3e9cdc012a922bba792860b2424aafc2e33fb.tar.gz
Use correct case for string matching on CSV import
As the string was changed in our CSVApps array, we must change it here as well. 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/divelogimportdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index 07cda1b02..b2b3bda5b 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -486,7 +486,7 @@ void DiveLogImportDialog::loadFileContents(int value, whatChanged triggeredBy)
void DiveLogImportDialog::on_buttonBox_accepted()
{
QStringList r = resultModel->result();
- if (ui->knownImports->currentText() != "Manual Import") {
+ if (ui->knownImports->currentText() != "Manual import") {
for (int i = 0; i < fileNames.size(); ++i) {
if (ui->knownImports->currentText() == "Seabear CSV") {
parse_seabear_csv_file(fileNames[i].toUtf8().data(),