(#537) Handling LAS file names no matter what case the extension has

.las, .LAS, .Las, .laS, etc. should now all work.
This commit is contained in:
Pål Hagen 2015-09-25 11:56:14 +02:00
parent 4424c110be
commit 4e3f51909b

View File

@ -184,7 +184,7 @@ RimWellLogFile* RimWellPath::readWellLogFile(const QString& logFilePath)
RimWellLogFile* wellLogFile = NULL;
if (fi.suffix().compare("las") == 0)
if (fi.suffix().toUpper().compare("LAS") == 0)
{
QString errorMessage;
wellLogFile = new RimWellLogFile();