[gimp/soc-2012-unified-transformation: 11/12] if not active show not menu
- From: Mikael Magnusson <mikachu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2012-unified-transformation: 11/12] if not active show not menu
- Date: Wed, 22 Aug 2012 21:13:09 +0000 (UTC)
commit 07c19ec86785b6ff2e8ce8f703babea65a0f3b44
Author: Mikael Magnusson <mikachu src gnome org>
Date: Tue Aug 21 18:37:31 2012 +0200
if not active show not menu
app/tools/gimpunifiedtransformtool.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpunifiedtransformtool.c b/app/tools/gimpunifiedtransformtool.c
index acb5e37..f42f0a5 100644
--- a/app/tools/gimpunifiedtransformtool.c
+++ b/app/tools/gimpunifiedtransformtool.c
@@ -1161,6 +1161,9 @@ gimp_unified_transform_tool_get_popup (GimpTool *tool,
{
GimpUnifiedTransformTool *ut_tool = GIMP_UNIFIED_TRANSFORM_TOOL (tool);
+ if (GIMP_TRANSFORM_TOOL (tool)->function == TRANSFORM_HANDLE_NONE)
+ return NULL;
+
if (! ut_tool->ui_manager)
{
GimpDialogFactory *dialog_factory;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]