From d2b6cb589c542b4be6f9e0d28044a45772a82326 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 13 Aug 2019 08:20:50 +0200 Subject: [PATCH] #4563 Summary : Fix import of summary file specified by casename.SMSPEC --- ApplicationCode/Commands/RicImportGeneralDataFeature.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ApplicationCode/Commands/RicImportGeneralDataFeature.cpp b/ApplicationCode/Commands/RicImportGeneralDataFeature.cpp index a85267cfcf..2620eece67 100644 --- a/ApplicationCode/Commands/RicImportGeneralDataFeature.cpp +++ b/ApplicationCode/Commands/RicImportGeneralDataFeature.cpp @@ -110,7 +110,8 @@ QStringList RicImportGeneralDataFeature::fileNamesFromCaseNames(const QStringLis { if (caseName.lastIndexOf(".") != -1) { - fileNames.push_back(caseName); + QFileInfo fi(caseName); + fileNames.push_back(fi.absoluteFilePath()); } else {