#4733 Summary Template : Add reload of templates

Adjust save and load of templates
Add save path to preferences
This commit is contained in:
Magne Sjaastad
2019-09-19 11:39:32 +02:00
parent c6dbc34183
commit f2ac170b66
19 changed files with 535 additions and 174 deletions
@@ -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;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------