mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Update Terminal.qml
Avoid console warnings when clicking on the terminal widget
This commit is contained in:
parent
5410e6396c
commit
8b399e9f51
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user