Commit 068ef057 authored by Csaba Kertesz's avatar Csaba Kertesz
Browse files

Fix for touch support to avoid closing popups in the skymap

parent a5e51566
......@@ -412,7 +412,7 @@ bool SkyMap::event(QEvent *event)
m_pinchScale = -1;
}
if (event->type() == QEvent::Gesture)
if (event->type() == QEvent::Gesture && m_touchMode)
{
QGestureEvent* gestureEvent = static_cast<QGestureEvent*>(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