[gimp/gimp-2-8] Bug 687375 - Text tool: unnecessarily insists on having a layer before working
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 687375 - Text tool: unnecessarily insists on having a layer before working
- Date: Tue, 6 Nov 2012 21:24:02 +0000 (UTC)
commit cfacd4f5a6f0dcb61e826d53b970ea96f4ef4c95
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.
(cherry picked from commit eba022f01bba181bcdf07ba908e9c2638b44b639)
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]