#4471 Implement python script running and editor in ResInsight GUI, same as Octave.

This commit is contained in:
Gaute Lindkvist committed 2019-07-26 14:54:54 +02:00
1 parent 8f464e5e23
commit 3ba962aefb
16 files changed
+200 -61

No files matched your search

@@ -81,8 +81,8 @@ void RimScriptCollection::readContentFromDisc()
// Build a list of all scripts in the specified directory
{
QString filter = "*.m";
QStringList fileList = caf::Utils::getFilesInDirectory(directory, filter, true);
QStringList nameFilters; nameFilters << "*.m" << "*.py";
QStringList fileList = caf::Utils::getFilesInDirectory(directory, nameFilters, true);
int i;
for (i = 0; i < fileList.size(); i++)