From 2523983776085aeae1cbd86619d81134645f2fe8 Mon Sep 17 00:00:00 2001 From: Hombre Date: Sun, 14 Jan 2018 00:34:22 +0100 Subject: [PATCH] LabGrid was disfunctional in BatchEditing (reported in PR #4301) --- rtgui/labgrid.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtgui/labgrid.cc b/rtgui/labgrid.cc index 079b3290f..945073221 100644 --- a/rtgui/labgrid.cc +++ b/rtgui/labgrid.cc @@ -237,6 +237,8 @@ bool LabGrid::on_button_press_event(GdkEventButton *event) break; } edited = true; + notifyListener(); + queue_draw(); } else if (event->type == GDK_BUTTON_PRESS && litPoint != NONE) { isDragged = true; } @@ -277,6 +279,7 @@ bool LabGrid::on_motion_notify_event(GdkEventMotion *event) high_a = ma * rtengine::ColorToningParams::LABGRID_CORR_MAX; high_b = mb * rtengine::ColorToningParams::LABGRID_CORR_MAX; } + edited = true; grab_focus(); if (options.adjusterMinDelay == 0) { notifyListener();