Skip to content

Commit a477ea3

Browse files
committedNov 24, 2017
[processing] move grass & saga version number to tooltips
1 parent 49b2312 commit a477ea3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎python/plugins/processing/algs/grass7/Grass7AlgorithmProvider.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ def loadAlgorithms(self):
119119
self.addAlgorithm(a)
120120

121121
def name(self):
122+
return 'GRASS'
123+
124+
def longName(self):
122125
version = Grass7Utils.installedVersion()
123126
return 'GRASS GIS ({})'.format(version) if version is not None else "GRASS GIS"
124127

‎python/plugins/processing/algs/saga/SagaAlgorithmProvider.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ def loadAlgorithms(self):
109109
self.addAlgorithm(a)
110110

111111
def name(self):
112+
return 'SAGA'
113+
114+
def longName(self):
112115
version = SagaUtils.getInstalledVersion()
113116
return 'SAGA ({})'.format(version) if version is not None else 'SAGA'
114117

0 commit comments

Comments
 (0)
Please sign in to comment.