clearing keepMouse flag
This commit is contained in:
parent
899936d8f9
commit
93d34efa9a
|
@ -510,7 +510,10 @@ void QskGestureRecognizer::reject()
|
||||||
m_data->isReplayingEvents = true;
|
m_data->isReplayingEvents = true;
|
||||||
|
|
||||||
if ( window->mouseGrabberItem() == watchedItem )
|
if ( window->mouseGrabberItem() == watchedItem )
|
||||||
|
{
|
||||||
|
watchedItem->setKeepMouseGrab( false );
|
||||||
watchedItem->ungrabMouse();
|
watchedItem->ungrabMouse();
|
||||||
|
}
|
||||||
|
|
||||||
if ( !events.isEmpty() &&
|
if ( !events.isEmpty() &&
|
||||||
( events[ 0 ]->type() == QEvent::MouseButtonPress ) )
|
( events[ 0 ]->type() == QEvent::MouseButtonPress ) )
|
||||||
|
|
Loading…
Reference in New Issue