From 59de607850161a26863f92961d53caae7a2dabc8 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Tue, 06 Aug 2019 21:37:03 -0400
Subject: [PATCH] Pin button.

---
 GroupEditor.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/GroupEditor.java b/GroupEditor.java
index ed46f77..00a0f61 100644
--- a/GroupEditor.java
+++ b/GroupEditor.java
@@ -1111,7 +1111,7 @@
                 cGridBag skyboxpane = new cGridBag();
                 skyboxpane.preferredHeight = 100;
                 
-                oe.toolboxPanel.add(skyboxpane);
+                oe.skyboxPanel.add(skyboxpane);
                 
                 JTabbedPane skyboxpanel = new JTabbedPane();
                 skyboxpane.add(skyboxpanel);
@@ -1138,9 +1138,9 @@
                 clearPanelButton.setToolTipText("Clear edit panel");
 		clearPanelButton.addActionListener(this);
 
-		editCommandsPanel.add(unselectButton = new cButton("U", !Grafreed.NIMBUSLAF)); //, oe.aConstraints);
-                unselectButton.setToolTipText("Unselect");
-		unselectButton.addActionListener(this);
+		//editCommandsPanel.add(unselectButton = new cButton("U", !Grafreed.NIMBUSLAF)); //, oe.aConstraints);
+                //unselectButton.setToolTipText("Unselect");
+		//unselectButton.addActionListener(this);
 
 		editCommandsPanel.add(flashSelectionButton = GetButton("icons/flash-light.png", !Grafreed.NIMBUSLAF)); //, oe.aConstraints);
                 flashSelectionButton.setToolTipText("Highlight selection");
@@ -5182,7 +5182,7 @@
         {
             editButton.setEnabled(enabled);
             uneditButton.setEnabled(enabled);
-            unselectButton.setEnabled(enabled);
+            //unselectButton.setEnabled(enabled);
             flashSelectionButton.setEnabled(enabled);
             
             clearPanelButton.setEnabled(!listUI.isEmpty());
@@ -5190,7 +5190,7 @@
 
         void refreshContents(boolean cp)
         {
-            if (objectPanel.getSelectedIndex() == 2) // objectPanel.indexOfTab("Info"))
+            //if (objectPanel.getSelectedIndex() == 2) // objectPanel.indexOfTab("Info"))
             if (!Globals.MOUSEDRAGGED && group.selection != null) // && !Globals.TIMERRUNNING)
             {
                 objEditor.ClearInfo(); // .GetMaterial());

--
Gitblit v1.6.2