mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add preferences setting for maximum search depth in script folders. Clean up context menu a bit. (#9012)
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
|
||||
#include "RicRefreshScriptsFeature.h"
|
||||
#include "RicScriptFeatureImpl.h"
|
||||
@@ -124,7 +125,7 @@ void RicNewPythonScriptFeature::onActionTriggered( bool isChecked )
|
||||
"resinsight.version_string())\n";
|
||||
}
|
||||
|
||||
scriptColl->readContentFromDisc();
|
||||
scriptColl->readContentFromDisc( RiaPreferences::current()->maxScriptFoldersDepth() );
|
||||
scriptColl->updateConnectedEditors();
|
||||
|
||||
if ( calcScript )
|
||||
|
||||
Reference in New Issue
Block a user