Skip to content

Commit

Permalink
Rename processing 'recently used algorithms' to 'recently used'
Browse files Browse the repository at this point in the history
Since we show much more than just 'algorithms' here
  • Loading branch information
nyalldawson committed Aug 23, 2017
1 parent 54e38bc commit 0669167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/ProcessingToolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,13 @@ def addRecentAlgorithms(self, updating):
found = False
if updating:
recentItem = self.algorithmTree.topLevelItem(0)
if recentItem.text(0) == self.tr('Recently used algorithms'):
if recentItem.text(0) == self.tr('Recently used'):
treeWidget = recentItem.treeWidget()
treeWidget.takeTopLevelItem(
treeWidget.indexOfTopLevelItem(recentItem))

recentItem = QTreeWidgetItem()
recentItem.setText(0, self.tr('Recently used algorithms'))
recentItem.setText(0, self.tr('Recently used'))
for algname in recent:
alg = QgsApplication.processingRegistry().createAlgorithmById(algname)
if alg is not None:
Expand Down

0 comments on commit 0669167

Please sign in to comment.