diff --git a/LibGUI/GSlider.cpp b/LibGUI/GSlider.cpp index ca532bf456..97546c8f82 100644 --- a/LibGUI/GSlider.cpp +++ b/LibGUI/GSlider.cpp @@ -123,7 +123,7 @@ void GSlider::leave_event(CEvent& event) void GSlider::change_event(GEvent& event) { if (event.type() == GEvent::Type::EnabledChange) { - if (!is_enabled())) + if (!is_enabled()) m_dragging = false; } GWidget::change_event(event);