mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-08-16 12:42:26 -04:00
Fix QML warning
This commit is contained in:
parent
0e93251349
commit
89a25c8a7f
@ -275,7 +275,7 @@ Item {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||||
onClicked: {
|
onClicked: (mouse) => {
|
||||||
if (mouse.button === Qt.LeftButton) {
|
if (mouse.button === Qt.LeftButton) {
|
||||||
selected = !selected
|
selected = !selected
|
||||||
if (selected) {
|
if (selected) {
|
||||||
@ -320,7 +320,7 @@ Item {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||||
onClicked: {
|
onClicked: (mouse) => {
|
||||||
if (mouse.button === Qt.LeftButton) {
|
if (mouse.button === Qt.LeftButton) {
|
||||||
selected = !selected
|
selected = !selected
|
||||||
if (selected) {
|
if (selected) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user