This commit is contained in:
Magne Sjaastad 2018-10-11 07:54:55 +02:00
parent d489fe1034
commit 6fc4d23d8e

View File

@ -52,7 +52,7 @@ RicfExportProperty::RicfExportProperty()
RICF_InitField(&m_type, "type", caf::AppEnum<RiaDefines::ResultCatType>(RiaDefines::DYNAMIC_NATIVE), "Property type", "", "", ""); RICF_InitField(&m_type, "type", caf::AppEnum<RiaDefines::ResultCatType>(RiaDefines::DYNAMIC_NATIVE), "Property type", "", "", "");
RICF_InitField(&m_eclipseKeyword, "eclipseKeyword", QString(), "Eclipse Keyword", "", "", ""); RICF_InitField(&m_eclipseKeyword, "eclipseKeyword", QString(), "Eclipse Keyword", "", "", "");
RICF_InitField(&m_undefinedValue, "undefinedValue", 0.0, "Undefined Value", "", "", ""); RICF_InitField(&m_undefinedValue, "undefinedValue", 0.0, "Undefined Value", "", "", "");
RICF_InitField(&m_path, "exportFile", QString(), "Export File", "", "", ""); RICF_InitField(&m_exportFileName, "exportFile", QString(), "Export FileName", "", "", "");
// clang-format on // clang-format on
} }
@ -103,7 +103,7 @@ void RicfExportProperty::execute()
return; return;
} }
QString filePath = m_path; QString filePath = m_exportFileName;
if (filePath.isNull()) if (filePath.isNull())
{ {
QDir propertiesDir(RicfCommandFileExecutor::instance()->getExportPath(RicfCommandFileExecutor::PROPERTIES)); QDir propertiesDir(RicfCommandFileExecutor::instance()->getExportPath(RicfCommandFileExecutor::PROPERTIES));