From 0c1f740dd6ddd6432dc29266e42ef851e26027bb Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Tue, 13 Aug 2019 21:21:38 -0400
Subject: [PATCH] Random node + optimizations.

---
 GroupEditor.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/GroupEditor.java b/GroupEditor.java
index 4faf49e..9f3c422 100644
--- a/GroupEditor.java
+++ b/GroupEditor.java
@@ -1043,8 +1043,8 @@
 //                    maxButton.addActionListener(this);
                 }
                 
-//                cButton gcButton;
-//                
+                cButton gcButton;
+                
 //		oe.toolbarPanel.add(gcButton = GetButton("icons/trash.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints);
 //                gcButton.setToolTipText("Garbage collect");
 //                gcButton.addActionListener(new ActionListener()
@@ -5325,6 +5325,7 @@
             
             boolean allComposites = true;
             
+            if (group.selection != null)
             for (Enumeration e = group.selection.elements(); e.hasMoreElements();)
             {
                     if (!(e.nextElement() instanceof Composite))

--
Gitblit v1.6.2