[gimp] app: in Rectangle/Ellipse tools, update selection when clicking inside existing one



commit 7d2e872f4f684e1ee86f092de4e61f6fd9b05a00
Author: Ell <ell_se yahoo com>
Date:   Thu Sep 19 17:26:55 2019 +0300

    app: in Rectangle/Ellipse tools, update selection when clicking inside existing one
    
    In GimpRectangleSelectTool, when creating the rectangle widget as a
    result of clicking inside an existing selection, update the
    selection at the click, so that the tool's effects are applied
    immediately, without having to further modify the selection.

 app/tools/gimprectangleselecttool.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/app/tools/gimprectangleselecttool.c b/app/tools/gimprectangleselecttool.c
index 096d4bb651..65f596d5bf 100644
--- a/app/tools/gimprectangleselecttool.c
+++ b/app/tools/gimprectangleselecttool.c
@@ -730,9 +730,7 @@ gimp_rectangle_select_tool_commit (GimpRectangleSelectTool *rect_tool)
                                 NULL);
                 }
 
-              gimp_rectangle_select_tool_update_option_defaults (rect_tool,
-                                                                 FALSE);
-              return;
+              gimp_rectangle_select_tool_update (rect_tool);
             }
           else
             {


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