mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#4733 Summary Template : Add reload of templates
Adjust save and load of templates Add save path to preferences
This commit is contained in:
@@ -716,6 +716,22 @@ QStringList RiaPreferences::plotTemplateFolders() const
|
||||
return filteredFolders;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaPreferences::appendPlotTemplateFolders( const QString& folder )
|
||||
{
|
||||
QString folders = m_plotTemplateFolders();
|
||||
if ( !folders.isEmpty() )
|
||||
{
|
||||
folders += ";";
|
||||
}
|
||||
|
||||
folders += folder;
|
||||
|
||||
m_plotTemplateFolders = folders;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user