From ceed52165ce9d406bc139358936fcf0950db0fe4 Mon Sep 17 00:00:00 2001 From: Marko Živković Date: Thu, 26 Feb 2015 23:47:04 +0000 Subject: Remove unnecessary enabling and disabling of components when workspaces are created or deleted git-svn-id: https://svn.code.sf.net/p/xlogo4schools/svn/trunk@30 3b0d7934-f7ef-4143-9606-b51f2e2281fd --- logo/src/xlogo/gui/welcome/settings/tabs/AbstractWorkspacePanel.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/logo/src/xlogo/gui/welcome/settings/tabs/AbstractWorkspacePanel.java b/logo/src/xlogo/gui/welcome/settings/tabs/AbstractWorkspacePanel.java index e3245bc..6dc6835 100644 --- a/logo/src/xlogo/gui/welcome/settings/tabs/AbstractWorkspacePanel.java +++ b/logo/src/xlogo/gui/welcome/settings/tabs/AbstractWorkspacePanel.java @@ -85,11 +85,6 @@ public abstract class AbstractWorkspacePanel extends X4SComponent{ workspaceListChangeListener = () -> { ignoreGuiEvents = true; - if (WSManager.getWorkspaceConfig() != null){ - enableComponents(); - } else { - disableComponents(); - } populateWorkspaceList(); ignoreGuiEvents = false; }; -- cgit v1.2.3