LabGrid was disfunctional in BatchEditing (reported in PR #4301)

This commit is contained in:
Hombre
2018-01-14 00:34:22 +01:00
parent aae61a7f55
commit 2523983776

View File

@@ -237,6 +237,8 @@ bool LabGrid::on_button_press_event(GdkEventButton *event)
break; break;
} }
edited = true; edited = true;
notifyListener();
queue_draw();
} else if (event->type == GDK_BUTTON_PRESS && litPoint != NONE) { } else if (event->type == GDK_BUTTON_PRESS && litPoint != NONE) {
isDragged = true; isDragged = true;
} }
@@ -277,6 +279,7 @@ bool LabGrid::on_motion_notify_event(GdkEventMotion *event)
high_a = ma * rtengine::ColorToningParams::LABGRID_CORR_MAX; high_a = ma * rtengine::ColorToningParams::LABGRID_CORR_MAX;
high_b = mb * rtengine::ColorToningParams::LABGRID_CORR_MAX; high_b = mb * rtengine::ColorToningParams::LABGRID_CORR_MAX;
} }
edited = true;
grab_focus(); grab_focus();
if (options.adjusterMinDelay == 0) { if (options.adjusterMinDelay == 0) {
notifyListener(); notifyListener();