mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f8f5e73dae
commit
a4c3e9cdc0
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ void DiveLogImportDialog::loadFileContents(int value, whatChanged triggeredBy)
|
||||||
void DiveLogImportDialog::on_buttonBox_accepted()
|
void DiveLogImportDialog::on_buttonBox_accepted()
|
||||||
{
|
{
|
||||||
QStringList r = resultModel->result();
|
QStringList r = resultModel->result();
|
||||||
if (ui->knownImports->currentText() != "Manual Import") {
|
if (ui->knownImports->currentText() != "Manual import") {
|
||||||
for (int i = 0; i < fileNames.size(); ++i) {
|
for (int i = 0; i < fileNames.size(); ++i) {
|
||||||
if (ui->knownImports->currentText() == "Seabear CSV") {
|
if (ui->knownImports->currentText() == "Seabear CSV") {
|
||||||
parse_seabear_csv_file(fileNames[i].toUtf8().data(),
|
parse_seabear_csv_file(fileNames[i].toUtf8().data(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue