Commit 6801ff38 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QuickToolBar: bugfix

Filtering MouseButtonPress and MouseButtonRelease
makes no sense and results in bad behaivour when
dragging the QuickToolBar.
parent d7956ad2
......@@ -44,12 +44,6 @@ namespace QmlEditorWidgets {
bool LabelFilter::eventFilter(QObject *obj, QEvent *event)
if (event->type() == QEvent::MouseButtonPress) {
return true;
if (event->type() == QEvent::MouseButtonRelease) {
return true;
if (event->type() == QEvent::MouseButtonDblClick) {
emit doubleClicked();
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