From b37455c87ecfda7b91d2aa0817fe432c69088bdd Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Fri, 28 Apr 2006 21:04:54 +0000 Subject: Fixed bug #938 --- java/src/IceGridGUI/Application/Root.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'java/src/IceGridGUI/Application/Root.java') diff --git a/java/src/IceGridGUI/Application/Root.java b/java/src/IceGridGUI/Application/Root.java index 818706b2d3b..83bbee3e117 100755 --- a/java/src/IceGridGUI/Application/Root.java +++ b/java/src/IceGridGUI/Application/Root.java @@ -687,10 +687,7 @@ public class Root extends ListTreeNode if(confirm == JOptionPane.YES_OPTION) { - if(_coordinator.removeApplicationFromRegistry(_id)) - { - _coordinator.getMainPane().removeApplication(this); - } + _coordinator.removeApplicationFromRegistry(_id); } } else @@ -977,6 +974,8 @@ public class Root extends ListTreeNode void updated() { _updated = true; + _registryUpdatesEnabled = false; // can be true before that when updated() is called by destroy() + _concurrentUpdates.clear(); _coordinator.getSaveAction().setEnabled(_live || _file != null); -- cgit v1.2.3