Commit adebed67 authored by Sharaf Zaman's avatar Sharaf Zaman
Browse files

Android: SAFE_ASSERT on TouchCancel event

parent 01514224
......@@ -411,7 +411,9 @@ bool KisShortcutMatcher::touchEndEvent( QTouchEvent* event )
void KisShortcutMatcher::touchCancelEvent(const QPointF &localPos)
{
m_d->usingTouch = false;
forceEndRunningShortcut(localPos);
if (m_d->runningShortcut) {
forceEndRunningShortcut(localPos);
}
}
bool KisShortcutMatcher::nativeGestureBeginEvent(QNativeGestureEvent *event)
......
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