From c23a2a128cbd5eb94b1a11e3b3a34676cf681135 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Mon, 02 Sep 2019 10:46:28 -0400
Subject: [PATCH] isWindows flag.

---
 GroupEditor.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/GroupEditor.java b/GroupEditor.java
index 2e6edb6..597afe6 100644
--- a/GroupEditor.java
+++ b/GroupEditor.java
@@ -766,10 +766,10 @@
                 shadowZItem = menu.add(new MenuItem("Shadow Blue"));
 		shadowZItem.addActionListener(this);
                 
-        if (Globals.ADVANCED)
-        {
 		attributeItem = menu.add(new MenuItem("Attribute"));
 		attributeItem.addActionListener(this);
+        if (Globals.ADVANCED)
+        {
 		menu.add("-");
 		linkerItem = menu.add(new MenuItem("Linker"));
 		linkerItem.addActionListener(this);
@@ -2722,11 +2722,11 @@
                     if (!group.selection.isEmpty())
                     {
                         Composite csg = new GroupLeaf();
+			group(csg);
                         csg.count = 5;
                         Composite child = new cGroup("Branch");
                         csg.addChild(child);
                         child.addChild(csg);
-			group(csg);
                     }
 		} else
 		if (source == doubleItem)
@@ -2734,6 +2734,7 @@
                     if (!group.selection.isEmpty())
                     {
                         Composite csg = new GroupLeaf("Fork");
+			group(csg);
                         csg.count = 5;
                         Composite child = new cGroup("Branch A");
                         csg.addChild(child);
@@ -2741,7 +2742,6 @@
                         child = new cGroup("Branch B");
                         csg.addChild(child);
                         child.addChild(csg);
-			group(csg);
                     }
 		} else
 		if (source == tripleItem)

--
Gitblit v1.6.2