diff --git a/GUI/View/PropertyEditor/CustomEditors.cpp b/GUI/View/PropertyEditor/CustomEditors.cpp index edadeeafc870e15eb0f8d68816b0db8c4ae669ee..067210f18877b88c69eca69958bfb427638a67a3 100644 --- a/GUI/View/PropertyEditor/CustomEditors.cpp +++ b/GUI/View/PropertyEditor/CustomEditors.cpp @@ -60,7 +60,6 @@ void CustomEditor::setDataIntern(const QVariant& data) ComboPropertyEditor::ComboPropertyEditor(QWidget* parent) : CustomEditor(parent) , m_box(new QComboBox) - , m_wheel_event_filter(new WheelEventEater(this)) { setAutoFillBackground(true); setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); @@ -70,8 +69,6 @@ ComboPropertyEditor::ComboPropertyEditor(QWidget* parent) layout->setSpacing(0); layout->addWidget(m_box); - m_box->installEventFilter(m_wheel_event_filter); - setLayout(layout); setConnected(true); } diff --git a/GUI/View/PropertyEditor/CustomEditors.h b/GUI/View/PropertyEditor/CustomEditors.h index 771ea66fe8dd01dd06f38dc0675829e042604fe0..4df78892c0c69d877fae7262ce0dd0fb6537b484 100644 --- a/GUI/View/PropertyEditor/CustomEditors.h +++ b/GUI/View/PropertyEditor/CustomEditors.h @@ -69,7 +69,6 @@ protected: void setConnected(bool isConnected); QComboBox* m_box; - class WheelEventEater* m_wheel_event_filter; }; //! Editor for Double variant using ScientificSpinBox.