From 8b399e9f51701b34f2f3c9375e637e6fffc642b7 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Sat, 30 Sep 2023 13:21:53 -0500 Subject: [PATCH] Update Terminal.qml Avoid console warnings when clicking on the terminal widget --- assets/qml/Widgets/Terminal.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/qml/Widgets/Terminal.qml b/assets/qml/Widgets/Terminal.qml index a1634079..3476dc6f 100644 --- a/assets/qml/Widgets/Terminal.qml +++ b/assets/qml/Widgets/Terminal.qml @@ -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