[gimp] app: GimpForegroundSelectTool: call control_activate() unconditionally



commit 9755d7d06c26545b963d2be6dd57b9522dabf887
Author: Michael Natterer <mitch gimp org>
Date:   Wed Mar 30 15:05:33 2011 +0200

    app: GimpForegroundSelectTool: call control_activate() unconditionally

 app/tools/gimpforegroundselecttool.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimpforegroundselecttool.c b/app/tools/gimpforegroundselecttool.c
index a5237de..21e699b 100644
--- a/app/tools/gimpforegroundselecttool.c
+++ b/app/tools/gimpforegroundselecttool.c
@@ -438,8 +438,7 @@ gimp_foreground_select_tool_button_press (GimpTool            *tool,
       if (gimp_draw_tool_is_active (draw_tool) && draw_tool->display != display)
         gimp_draw_tool_stop (draw_tool);
 
-      if (! gimp_tool_control_is_active (tool->control))
-        gimp_tool_control_activate (tool->control);
+      gimp_tool_control_activate (tool->control);
 
       fg_select->last_coords = *coords;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]