Commit 0ea8fcf7 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

Merged from HEAD branch:

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

	Merged from HEAD branch:

	* 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 c4bc54c6
2005-01-20 Sven Neumann <sven@gimp.org>
Merged from HEAD branch:
* 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-18 Manish Singh <yosh@gimp.org>
* plug-ins/common/jpeg.c: fix up indentation.
......
......@@ -514,10 +514,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:
......
Supports Markdown
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