diff options
Diffstat (limited to 'qt-ui/divelogimportdialog.cpp')
-rw-r--r-- | qt-ui/divelogimportdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp index 8c3099fc4..0aa6f90de 100644 --- a/qt-ui/divelogimportdialog.cpp +++ b/qt-ui/divelogimportdialog.cpp @@ -492,7 +492,7 @@ void DiveLogImportDialog::loadFileContents(int value, whatChanged triggeredBy) while (strlen(f.readLine()) > 3 && !f.atEnd()); } - while (rows < 10 || !f.atEnd()) { + while (rows < 10 && !f.atEnd()) { QString currLine = f.readLine(); currColumns = currLine.split(separator); fileColumns.append(currColumns); |