diff --git a/python/plugins/processing/gui/HistoryDialog.py b/python/plugins/processing/gui/HistoryDialog.py index 1040b7cb1071..eaa01e917f36 100644 --- a/python/plugins/processing/gui/HistoryDialog.py +++ b/python/plugins/processing/gui/HistoryDialog.py @@ -186,7 +186,7 @@ def changeText(self): item = self.tree.currentItem() 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('processing.run(', 'processing.execAlgorithmDialog(').replace(LOG_SEPARATOR, '\n')) + item.entry.text.replace(LOG_SEPARATOR, '\n')) def createTest(self): item = self.tree.currentItem()