From 16c8f18976007f73714c419d3a0b27bf225ee025 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Mon, 22 Jan 2018 23:00:37 +0100 Subject: [PATCH] make sure that the idle callback set by CropHandler::setDetailedCrop gets called before redraws Fixes #4224 --- rtgui/crophandler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/crophandler.cc b/rtgui/crophandler.cc index 0abff627b..6228cb1c7 100644 --- a/rtgui/crophandler.cc +++ b/rtgui/crophandler.cc @@ -411,7 +411,7 @@ void CropHandler::setDetailedCrop (IImage8* im, IImage8* imtrue, rtengine::procp return FALSE; }; - idle_register.add(func, idle_helper); + idle_register.add(func, idle_helper, G_PRIORITY_HIGH_IDLE); } cimg.unlock ();