File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ AppletItemButton {
5656 name: " opened"
5757 PropertyChanges { target: root .contentItem ; rotation: 180 }
5858 },
59-
6059 State {
6160 name: " closed"
6261 PropertyChanges { target: root .contentItem ; rotation: 0 }
@@ -93,13 +92,17 @@ AppletItemButton {
9392 when: stashedPopup .popupVisibleChanged
9493 }
9594
96- onClicked: {
97- if (stashedPopup .popupVisible ) {
98- stashedPopup .close ();
99- } else {
100- stashedPopup .open ();
95+ MouseArea {
96+ anchors .fill : parent
97+ acceptedButtons: Qt .LeftButton
98+ onClicked: {
99+ if (stashedPopup .popupVisible ) {
100+ stashedPopup .close ();
101+ } else {
102+ stashedPopup .open ();
103+ }
104+ toolTip .close ();
101105 }
102- toolTip .close ();
103106 }
104107
105108 PanelToolTip {
You can’t perform that action at this time.
0 commit comments