summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/efl_ui_clock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_clock.c b/src/lib/elementary/efl_ui_clock.c
index 6c2d86469d..7a61acdf14 100644
--- a/src/lib/elementary/efl_ui_clock.c
+++ b/src/lib/elementary/efl_ui_clock.c
@@ -847,7 +847,8 @@ _ticker(void *data)
847 if (sd->curr_time.tm_sec > 0) 847 if (sd->curr_time.tm_sec > 0)
848 { 848 {
849 field = sd->field_list + EFL_UI_CLOCK_TYPE_SECOND; 849 field = sd->field_list + EFL_UI_CLOCK_TYPE_SECOND;
850 if (field->fmt_exist && field->visible) 850 if (field->fmt_exist && field->visible &&
851 dt_mod && dt_mod->field_value_display)
851 dt_mod->field_value_display(sd->mod_data, field->item_obj); 852 dt_mod->field_value_display(sd->mod_data, field->item_obj);
852 } 853 }
853 else 854 else