mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Completion Export : Add option to control export of comments
This commit is contained in:
@@ -46,6 +46,7 @@ void RicfCommandFileExecutor::ExportTypeEnum::setUp()
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicfCommandFileExecutor::RicfCommandFileExecutor()
|
||||
: m_exportDataSourceAsComment( true )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -149,6 +150,22 @@ QString RicfCommandFileExecutor::getLastProjectPath() const
|
||||
return m_lastProjectPath;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicfCommandFileExecutor::setExportDataSouceAsComment( bool enable )
|
||||
{
|
||||
m_exportDataSourceAsComment = enable;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicfCommandFileExecutor::exportDataSouceAsComment() const
|
||||
{
|
||||
return m_exportDataSourceAsComment;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user