1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-05 13:17:36 +00:00

GSlider: Oops, fix typo in previous commit.

This commit is contained in:
Andreas Kling 2019-05-25 13:44:37 +02:00
parent d12857fc36
commit 83aa785c57

View file

@ -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);