diff --git a/src/controls/QskRangeControl.cpp b/src/controls/QskRangeControl.cpp index eb4277ad..51a6637a 100644 --- a/src/controls/QskRangeControl.cpp +++ b/src/controls/QskRangeControl.cpp @@ -223,7 +223,7 @@ void QskRangeControl::setReadOnly( bool readOnly ) // we are killing user settings here !! setFocusPolicy( readOnly ? Qt::NoFocus : Qt::StrongFocus ); setAcceptedMouseButtons( readOnly ? Qt::NoButton : Qt::LeftButton ); - setWheelEnabled( m_data->readOnly ); + setWheelEnabled( !m_data->readOnly ); Q_EMIT readOnlyChanged( readOnly ); }