X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Fimage-overlay.c;h=9a8b706be4f057ec2eacf17aa1bdc51455c15b9b;hp=fe588efaf4c62b2d66ff281007681de355db994a;hb=e436ea53511e1dadab981af18b237fee83fde39b;hpb=2dfa5f58107ba16e171e2e65524859a42b057742 diff --git a/src/image-overlay.c b/src/image-overlay.c index fe588efa..9a8b706b 100644 --- a/src/image-overlay.c +++ b/src/image-overlay.c @@ -592,7 +592,7 @@ static GdkPixbuf *image_osd_info_render(OverlayStateData *osd) if (with_hist) { histmap = histmap_get(imd->image_fd); - if (!histmap) + if (!histmap) { histmap_start_idle(imd->image_fd); with_hist = FALSE; @@ -856,7 +856,7 @@ static gboolean image_osd_update_cb(gpointer data) if (osd->show & OSD_SHOW_INFO) { - /* redraw when the image was changed, + /* redraw when the image was changed, with histogram we have to redraw also when loading is finished */ if (osd->changed_states & IMAGE_STATE_IMAGE || (osd->changed_states & IMAGE_STATE_LOADING && osd->show & OSD_SHOW_HISTOGRAM) ||