Commit 227c5040 authored by Julien Finet's avatar Julien Finet
Browse files

Fix TestControlPointsItemEvents

A dbl click must be followed by a mouse button release.

Change-Id: I9605b7e7831eb2f664a1bfb5ed8210221e081c90
parent fea2d622
...@@ -156,7 +156,7 @@ int TestControlPointsItemEvents(int, char*[]) ...@@ -156,7 +156,7 @@ int TestControlPointsItemEvents(int, char*[])
"LeftButtonPressEvent 55 1 0 0 0 0 0\n" // select the first point "LeftButtonPressEvent 55 1 0 0 0 0 0\n" // select the first point
"LeftButtonReleaseEvent 55 1 0 0 0 0 0\n" "LeftButtonReleaseEvent 55 1 0 0 0 0 0\n"
"LeftButtonPressEvent 55 1 0 0 0 1 0\n" // dbl click "LeftButtonPressEvent 55 1 0 0 0 1 0\n" // dbl click
"MouseMoveEvent 56 1 0 0 0 0 0\n" // shouldn't move the point "LeftButtonReleaseEvent 55 1 0 0 0 0 0\n" // must be followed by release
; ;
recorder->SetInputString(dblClickEvents); recorder->SetInputString(dblClickEvents);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment