[gimp] Bug 687375 - Text tool: unnecessarily insists on having a layer before working



commit eba022f01bba181bcdf07ba908e9c2638b44b639
Author: Michael Natterer <mitch gimp org>
Date:   Tue Nov 6 22:22:02 2012 +0100

    Bug 687375 - Text tool: unnecessarily insists on having a layer before working
    
    There is no reason to disallow the text tool from working on a
    previously empty image, so allow it.

 app/tools/gimptexttool.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimptexttool.c b/app/tools/gimptexttool.c
index d7f6a6b..0c678ca 100644
--- a/app/tools/gimptexttool.c
+++ b/app/tools/gimptexttool.c
@@ -259,6 +259,7 @@ gimp_text_tool_init (GimpTextTool *text_tool)
   gimp_text_tool_editor_init (text_tool);
 
   gimp_tool_control_set_scroll_lock          (tool->control, TRUE);
+  gimp_tool_control_set_handle_empty_image   (tool->control, TRUE);
   gimp_tool_control_set_wants_click          (tool->control, TRUE);
   gimp_tool_control_set_wants_double_click   (tool->control, TRUE);
   gimp_tool_control_set_wants_triple_click   (tool->control, TRUE);



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