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 Original file line Diff line number Diff line change
Expand Up @@ -319,13 +319,13 @@ def addRecentAlgorithms(self, updating):
found = False found = False
if updating: if updating:
recentItem = self.algorithmTree.topLevelItem(0) 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 = recentItem.treeWidget()
treeWidget.takeTopLevelItem( treeWidget.takeTopLevelItem(
treeWidget.indexOfTopLevelItem(recentItem)) treeWidget.indexOfTopLevelItem(recentItem))


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

0 comments on commit 0669167

Please sign in to comment.