diff options
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibGUI/Slider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Slider.cpp b/Userland/Libraries/LibGUI/Slider.cpp index 0f9a641c64..8c22b48b12 100644 --- a/Userland/Libraries/LibGUI/Slider.cpp +++ b/Userland/Libraries/LibGUI/Slider.cpp @@ -104,7 +104,7 @@ void Slider::mousedown_event(MouseEvent& event) start_drag(event.position()); // Delay the callback to make it aware that a drag has started. if (on_change) - on_change(new_value); + on_change(value()); return; } |