diff --git a/src/gwin/slider.c b/src/gwin/slider.c index ace90365..4c91ede6 100644 --- a/src/gwin/slider.c +++ b/src/gwin/slider.c @@ -262,10 +262,6 @@ void gwinSliderSetPosition(GHandle gh, int pos) { if (gh->vmt != (gwinVMT *)&sliderVMT) return; - // do not change the position if disabled - if (!gwinGetEnabled(gh)) - return; - if (gsw->min <= gsw->max) { if (pos < gsw->min) gsw->pos = gsw->min; else if (pos > gsw->max) gsw->pos = gsw->max;