Skip to content

Commit b4b05ba

Browse files
committed
[processing] save value of grass path when autoconfiguration is succesful
1 parent e925382 commit b4b05ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/plugins/processing/algs/grass/GrassUtils.py

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ def grassPath():
106106
if not os.path.isdir(folder):
107107
folder = '/Applications/GRASS-6.4.app/Contents/MacOS'
108108

109+
if folder:
110+
ProcessingConfig.setSettingValue(GrassUtils.GRASS_FOLDER, folder)
109111
return folder or ''
110112

111113
@staticmethod

0 commit comments

Comments
 (0)