Commit 945199a1 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix effect parameter spin box incrementing twice on mouse wheel

parent beae24e1
Pipeline #194828 passed with stage
in 10 minutes and 13 seconds
...@@ -169,7 +169,8 @@ bool DragValue::eventFilter(QObject *watched, QEvent *event) ...@@ -169,7 +169,8 @@ bool DragValue::eventFilter(QObject *watched, QEvent *event)
m_label->slotValueDec(); m_label->slotValueDec();
} }
// Stop processing, event accepted // Stop processing, event accepted
return false; event->accept();
return true;
} }
return QObject::eventFilter(watched, event); return QObject::eventFilter(watched, event);
} }
......
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