EventDelegate: replace json() by dict() for debug

When debugging an event, `target.dict()` will return an object that can
be properly worked with and pretty-printed using the `.j` command.
This commit is contained in:
miruka
2020-09-02 11:24:22 -04:00
parent 9c4d37f64b
commit 519eaa2ca0
3 changed files with 5 additions and 7 deletions

View File

@@ -146,7 +146,7 @@ HMenu {
HMenuItem {
icon.name: "debug"
text: qsTr("Debug")
onTriggered: mainUI.debugConsole.toggle(eventDelegate, "t.json()")
onTriggered: mainUI.debugConsole.toggle(eventDelegate, ".j t.dict()")
}
HMenuItemPopupSpawner {