mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Indent JSON copied from processing history
This commit is contained in:
parent
940270e91f
commit
26c8fe9aa6
@ -250,7 +250,7 @@ class HistoryDialog(BASE, WIDGET):
|
||||
as_json_action = QAction(
|
||||
QCoreApplication.translate('HistoryDialog', 'Copy as JSON'), self.tree)
|
||||
as_json_action.setIcon(QgsApplication.getThemeIcon("mActionEditCopy.svg"))
|
||||
as_json_action.triggered.connect(partial(self.copy_text, json.dumps(inputs_json)))
|
||||
as_json_action.triggered.connect(partial(self.copy_text, json.dumps(inputs_json, indent=2)))
|
||||
popupmenu.addAction(as_json_action)
|
||||
|
||||
if not popupmenu.isEmpty():
|
||||
|
Loading…
x
Reference in New Issue
Block a user