aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml')
-rw-r--r--share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml b/share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml
index ce95aa2198..e154bb4d39 100644
--- a/share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml
+++ b/share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml
@@ -55,7 +55,8 @@ Item {
property bool hasWhenCondition: false
- property bool scrollViewActive: false
+ property bool menuOpen: stateMenu.opened
+ property bool blockDragHandler: false
property Item dragParent
@@ -91,7 +92,7 @@ Item {
DragHandler {
id: dragHandler
- enabled: !root.baseState && !root.extendedState && !root.scrollViewActive
+ enabled: !root.baseState && !root.extendedState && !root.blockDragHandler
onGrabChanged: function (transition, point) {
if (transition === PointerDevice.GrabPassive
|| transition === PointerDevice.GrabExclusive)