Skip to content
Permalink
Browse files
[processing] Clear python command in history dialog when selecting a …
…non-algorithm item (i.e. folder)
  • Loading branch information
nirvn committed Jun 28, 2021
1 parent a777ba8 commit 19eaec7436c5f90ba52a73d809bb070873f49333
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/gui/HistoryDialog.py
@@ -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()

0 comments on commit 19eaec7

Please sign in to comment.