[gimp] app: make sure the text style box is repositioned on *each* rectangle change



commit 8399eefc95ae6982c2ed68ee2404e4195e50f8b3
Author: Michael Natterer <mitch gimp org>
Date:   Sat Feb 27 18:19:47 2010 +0100

    app: make sure the text style box is repositioned on *each* rectangle change

 app/tools/gimptexttool.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimptexttool.c b/app/tools/gimptexttool.c
index a1d4c0d..04a3c33 100644
--- a/app/tools/gimptexttool.c
+++ b/app/tools/gimptexttool.c
@@ -831,6 +831,8 @@ gimp_text_tool_rectangle_change_complete (GimpRectangleTool *rect_tool)
 {
   GimpTextTool *text_tool = GIMP_TEXT_TOOL (rect_tool);
 
+  gimp_text_tool_editor_position (text_tool);
+
   if (text_tool->handle_rectangle_change_complete)
     {
       GimpItem *item = GIMP_ITEM (text_tool->layer);
@@ -885,8 +887,6 @@ gimp_text_tool_rectangle_change_complete (GimpRectangleTool *rect_tool)
           gimp_text_tool_apply (text_tool);
 
           gimp_image_undo_group_end (text_tool->image);
-
-          gimp_text_tool_editor_position (text_tool);
         }
     }
 



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