summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/elm_slider.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_slider.c b/src/lib/elementary/elm_slider.c
index 7b36da532e..0a1e5c3f01 100644
--- a/src/lib/elementary/elm_slider.c
+++ b/src/lib/elementary/elm_slider.c
@@ -1045,6 +1045,8 @@ _elm_slider_efl_ui_format_format_cb_set(Eo *obj, Elm_Slider_Data *sd, void *func
1045 if (sd->format_cb_data && sd->format_free_cb) 1045 if (sd->format_cb_data && sd->format_free_cb)
1046 sd->format_free_cb(sd->format_cb_data); 1046 sd->format_free_cb(sd->format_cb_data);
1047 1047
1048 if (efl_invalidated_get(obj)) return;
1049
1048 sd->format_cb = func; 1050 sd->format_cb = func;
1049 sd->format_cb_data = func_data; 1051 sd->format_cb_data = func_data;
1050 sd->format_free_cb = func_free_cb; 1052 sd->format_free_cb = func_free_cb;