Commit f377af8d authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'fix-info-button-double-event' into 'master'

Avoid double events when using the info button (mouse down and up)

See merge request !172
parents 7b23318e f7d8032e
......@@ -777,6 +777,7 @@ Core::slotMouseEventIdentify( QMouseEvent* _event )
// Only catch left-button clicks
if(_event->button() != Qt::LeftButton) return;
if(_event->type() != QEvent::MouseButtonRelease) return;
const QObject* senderPointer = sender();
unsigned int examinerId = 0;
Supports Markdown
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