diff --git a/framefileio.cpp b/framefileio.cpp index e0da8fd..658cb31 100644 --- a/framefileio.cpp +++ b/framefileio.cpp @@ -369,16 +369,6 @@ bool FrameFileIO::autoDetectLoadFile(QString filename, QVector* frames } } - qDebug() << "Attempting lawicel"; - if (isLawicelFile(filename)) - { - if (loadLawicelFile(filename, frames)) - { - qDebug() << "Loaded as lawicel successfully!"; - return true; - } - } - qDebug() << "Attempting 'CARBUS Analyzer'"; if (isCARBUSAnalyzerFile(filename)) { @@ -494,6 +484,16 @@ bool FrameFileIO::autoDetectLoadFile(QString filename, QVector* frames } } + qDebug() << "Attempting lawicel"; + if (isLawicelFile(filename)) + { + if (loadLawicelFile(filename, frames)) + { + qDebug() << "Loaded as lawicel successfully!"; + return true; + } + } + qDebug() << "Attempting generic CSV"; if (isGenericCSVFile(filename)) {