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.
This commit is contained in:
Michael Natterer 2012-11-06 22:22:02 +01:00
parent 55f025e469
commit eba022f01b
1 changed files with 1 additions and 0 deletions

View File

@ -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);