Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] Clear python command in history dialog when selecting a …
…non-algorithm item (i.e. folder)
  • Loading branch information
nirvn authored and github-actions[bot] committed Jun 28, 2021
1 parent b5a6cdf commit 22ac5c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/plugins/processing/gui/HistoryDialog.py
Expand Up @@ -193,6 +193,8 @@ def changeText(self):
if isinstance(item, TreeLogEntryItem):
self.text.setText('"""\n' + self.tr('Double-click on the history item or paste the command below to re-run the algorithm') + '\n"""\n\n' +
item.entry.text.replace(LOG_SEPARATOR, '\n'))
else:
self.text.setText('')

def createTest(self):
item = self.tree.currentItem()
Expand Down

0 comments on commit 22ac5c7

Please sign in to comment.