mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 01:42:13 -05:00
#4471 Implement python script running and editor in ResInsight GUI, same as Octave.
This commit is contained in:
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++)
|
||||
|
||||
Reference in new issue
Block a user