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 authored and nyalldawson committed Jun 29, 2021
1 parent cfb0360 commit 7821292b8d15a26c522673c9106dd0cd68f78b47
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 7821292

Please sign in to comment.