mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 01:23:24 +00:00
CSV input UI: if we detect columns, set type to "manual" for now
We still need to re-implement the other presets. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e3aebfdd66
commit
a51110b0d0
1 changed files with 3 additions and 1 deletions
|
@ -392,8 +392,10 @@ void DiveLogImportDialog::loadFileContents() {
|
|||
headers.append("");
|
||||
}
|
||||
}
|
||||
if (matchedSome)
|
||||
if (matchedSome) {
|
||||
ui->dragInstructions->setText(tr("Some column headers were pre-populated; please drag and drop the headers so they match the column they are in."));
|
||||
ui->knownImports->setCurrentIndex(0); // <- that's "Manual import"
|
||||
}
|
||||
f.reset();
|
||||
int rows = 0;
|
||||
while (rows < 10 || !f.atEnd()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue