diff options
author | Martin Jones <martin.jones@nokia.com> | 2012-03-15 14:58:03 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-20 04:24:32 +0100 |
commit | 5d901a7435e98629b7f50488dbd45a1635bf767b (patch) | |
tree | cff467858d17fb21f9a120023fca5a7e72b2a847 /tests/auto/quick/qquickpathview/data | |
parent | 610df5cdf87b9e1566b01a273fe67905b035cb93 (diff) |
Restore view to sensible position if grab is cancelled.
If the mouse grab is stolen, return to allowed bounds.
Change-Id: Icc44da32ff62bed273f0ccbb5498766981cdf9a4
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquickpathview/data')
-rw-r--r-- | tests/auto/quick/qquickpathview/data/dragpath.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickpathview/data/dragpath.qml b/tests/auto/quick/qquickpathview/data/dragpath.qml index f9c6615b04..6ba778bb80 100644 --- a/tests/auto/quick/qquickpathview/data/dragpath.qml +++ b/tests/auto/quick/qquickpathview/data/dragpath.qml @@ -14,6 +14,7 @@ PathView { preferredHighlightBegin: 0.5 preferredHighlightEnd: 0.5 Text { + objectName: "text" text: "current index: " + parent.currentIndex } } |