[gimp] app: update GimpBlendTool's status when Alt is pressed/released



commit 89d3869760646a925f3441d124c95d40e0d498b9
Author: Michael Natterer <mitch gimp org>
Date:   Fri Oct 7 01:25:15 2011 +0200

    app: update GimpBlendTool's status when Alt is pressed/released

 app/tools/gimpblendtool.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpblendtool.c b/app/tools/gimpblendtool.c
index d5c7ef6..0827c59 100644
--- a/app/tools/gimpblendtool.c
+++ b/app/tools/gimpblendtool.c
@@ -352,6 +352,11 @@ gimp_blend_tool_active_modifier_key (GimpTool        *tool,
 
       gimp_blend_tool_update_items (blend_tool);
     }
+  else if (key == GDK_MOD1_MASK)
+    {
+      gimp_tool_pop_status (tool, display);
+      gimp_blend_tool_push_status (blend_tool, state, display);
+    }
 }
 
 static void



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