Skip to content
Snippets Groups Projects
Commit de232bac authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

ComboPropertyEditor: rm WheelEventEater

parent 3ce5c31e
No related branches found
No related tags found
1 merge request!1029GUI: allow scrolling ComboPropertyEditor by mouse wheel
Pipeline #75043 passed
......@@ -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);
}
......
......@@ -69,7 +69,6 @@ protected:
void setConnected(bool isConnected);
QComboBox* m_box;
class WheelEventEater* m_wheel_event_filter;
};
//! Editor for Double variant using ScientificSpinBox.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment