mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
[processing] Add a help string to tell users what they can do in the history dialog
This commit is contained in:
parent
7b66ba8291
commit
edaf49c1f5
@ -158,7 +158,8 @@ class HistoryDialog(BASE, WIDGET):
|
||||
def changeText(self):
|
||||
item = self.tree.currentItem()
|
||||
if isinstance(item, TreeLogEntryItem):
|
||||
self.text.setText(item.entry.text.replace(LOG_SEPARATOR, '\n'))
|
||||
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'))
|
||||
|
||||
def createTest(self):
|
||||
item = self.tree.currentItem()
|
||||
|
Loading…
x
Reference in New Issue
Block a user