Normand Briere
2019-08-14 0c1f740dd6ddd6432dc29266e42ef851e26027bb
GroupEditor.java
....@@ -1043,8 +1043,8 @@
10431043 // maxButton.addActionListener(this);
10441044 }
10451045
1046
-// cButton gcButton;
1047
-//
1046
+ cButton gcButton;
1047
+
10481048 // oe.toolbarPanel.add(gcButton = GetButton("icons/trash.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints);
10491049 // gcButton.setToolTipText("Garbage collect");
10501050 // gcButton.addActionListener(new ActionListener()
....@@ -5325,6 +5325,7 @@
53255325
53265326 boolean allComposites = true;
53275327
5328
+ if (group.selection != null)
53285329 for (Enumeration e = group.selection.elements(); e.hasMoreElements();)
53295330 {
53305331 if (!(e.nextElement() instanceof Composite))