Fixed details crops refresh problem when moved; see issue #617
This commit is contained in:
@@ -225,7 +225,7 @@ void CropHandler::update () {
|
|||||||
cropPixbuf.clear ();
|
cropPixbuf.clear ();
|
||||||
|
|
||||||
// To save threads, try to mark "needUpdate" without a thread first
|
// To save threads, try to mark "needUpdate" without a thread first
|
||||||
if (!crop->tryUpdate()) {
|
if (crop->tryUpdate()) {
|
||||||
if (isLowUpdatePriority)
|
if (isLowUpdatePriority)
|
||||||
Glib::Thread::create(sigc::mem_fun(*crop, &DetailedCrop::fullUpdate), 0, false, true, Glib::THREAD_PRIORITY_LOW);
|
Glib::Thread::create(sigc::mem_fun(*crop, &DetailedCrop::fullUpdate), 0, false, true, Glib::THREAD_PRIORITY_LOW);
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user