Update Terminal.qml

Avoid console warnings when clicking on the terminal widget
This commit is contained in:
Alex Spataru 2023-09-30 13:21:53 -05:00
parent 5410e6396c
commit 8b399e9f51

View File

@ -156,7 +156,7 @@ Item {
acceptedButtons: Qt.RightButton
anchors.rightMargin: textEdit.scrollbarWidth
onClicked: {
onClicked: (mouse) => {
if (mouse.button === Qt.RightButton) {
contextMenu.popup()
mouse.accepted = true