[gimp/gimp-2-8] Bug 686523 - Text tool: text editor not shown on	empty text box
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gimp/gimp-2-8] Bug 686523 - Text tool: text editor not shown on	empty text box
- Date: Sun, 21 Oct 2012 21:32:33 +0000 (UTC)
commit bc2b0d117dabf50124289208291f9aaceaf76949
Author: Michael Natterer <mitch gimp org>
Date:   Sun Oct 21 23:28:30 2012 +0200
    Bug 686523 - Text tool: text editor not shown on empty text box
    
    gimp_text_tool_options_notify(): always show the editor, also when no
    text object exists yet. There was no reason for this limitation.
    (cherry picked from commit 2b3e5ebd7858c63e0e8537915cfe46d8c90d2723)
 app/tools/gimptexttool-editor.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/tools/gimptexttool-editor.c b/app/tools/gimptexttool-editor.c
index 37c4c5f..1533245 100644
--- a/app/tools/gimptexttool-editor.c
+++ b/app/tools/gimptexttool-editor.c
@@ -1135,8 +1135,7 @@ gimp_text_tool_options_notify (GimpTextOptions *options,
     {
       if (options->use_editor)
         {
-          if (text_tool->text)
-            gimp_text_tool_editor_dialog (text_tool);
+          gimp_text_tool_editor_dialog (text_tool);
         }
       else
         {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]