Add option to target message for debug console

This commit is contained in:
miruka
2019-09-05 16:09:04 -04:00
parent 01f8bc3d6c
commit ddce551360
2 changed files with 29 additions and 2 deletions

View File

@@ -106,5 +106,14 @@ Column {
onTriggered:
Utils.copyToClipboard(selectableLabelContainer.joinedSelection)
}
HMenuItem {
icon.name: "settings"
text: qsTr("Set as debug console target")
visible: debugMode
onTriggered: {
mainUI.debugConsole.target = [eventDelegate, eventContent]
}
}
}
}