Commit 49be4f79 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

call gimp_image_flush() after setting the active component since this

2005-01-20  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcomponenteditor.c
	(gimp_component_editor_button_press): call gimp_image_flush() after
	setting the active component since this might unselect the active
	channel. Fixes bug #164195.
parent 2d3db583
2005-01-20 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcomponenteditor.c
(gimp_component_editor_button_press): call gimp_image_flush() after
setting the active component since this might unselect the active
channel. Fixes bug #164195.
2005-01-19 Sven Neumann <sven@gimp.org>
* app/core/gimpdrawable-transform.c: applied a patch from Geert
......
......@@ -522,10 +522,13 @@ gimp_component_editor_button_press (GtkWidget *widget,
switch (bevent->button)
{
case 1:
if (column != editor->eye_column &&
bevent->type == GDK_BUTTON_PRESS)
gimp_image_set_component_active (GIMP_IMAGE_EDITOR (editor)->gimage,
channel, ! active);
if (column != editor->eye_column && bevent->type == GDK_BUTTON_PRESS)
{
GimpImage *image = GIMP_IMAGE_EDITOR (editor)->gimage;
gimp_image_set_component_active (image, channel, ! active);
gimp_image_flush (image);
}
break;
case 2:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment