Skip to content

Commit

Permalink
[processing] move grass & saga version number to tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Nov 24, 2017
1 parent 49b2312 commit a477ea3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ def loadAlgorithms(self):
self.addAlgorithm(a)

def name(self):
return 'GRASS'

def longName(self):
version = Grass7Utils.installedVersion()
return 'GRASS GIS ({})'.format(version) if version is not None else "GRASS GIS"

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/saga/SagaAlgorithmProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ def loadAlgorithms(self):
self.addAlgorithm(a)

def name(self):
return 'SAGA'

def longName(self):
version = SagaUtils.getInstalledVersion()
return 'SAGA ({})'.format(version) if version is not None else 'SAGA'

Expand Down

0 comments on commit a477ea3

Please sign in to comment.