Fixed drag when flow mouse activation is disabled

This commit is contained in:
Luis Ángel San Martín 2017-04-11 20:48:36 +02:00
parent 1459ebb261
commit 83074a9382

View File

@ -768,11 +768,8 @@ void Viewer::mouseMoveEvent(QMouseEvent * event)
{ {
if(showGoToFlowAnimation->state()!=QPropertyAnimation::Running) if(showGoToFlowAnimation->state()!=QPropertyAnimation::Running)
{ {
if(Configuration::getConfiguration().getDisableShowOnMouseOver()) if(Configuration::getConfiguration().getDisableShowOnMouseOver() == false)
{ {
return;
}
if(goToFlow->isVisible()) if(goToFlow->isVisible())
{ {
QPoint gtfPos = goToFlow->mapFrom(this,event->pos()); QPoint gtfPos = goToFlow->mapFrom(this,event->pos());
@ -790,6 +787,7 @@ void Viewer::mouseMoveEvent(QMouseEvent * event)
hideCursorTimer->stop(); hideCursorTimer->stop();
} }
} }
}
} }
if(drag) if(drag)