summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/Root.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-04-28 21:04:54 +0000
committerBernard Normier <bernard@zeroc.com>2006-04-28 21:04:54 +0000
commitb37455c87ecfda7b91d2aa0817fe432c69088bdd (patch)
treef26e50d4ef929024cdcb605b708237d1b48b99df /java/src/IceGridGUI/Application/Root.java
parentupdate to use AdminSessionManager (diff)
downloadice-b37455c87ecfda7b91d2aa0817fe432c69088bdd.tar.bz2
ice-b37455c87ecfda7b91d2aa0817fe432c69088bdd.tar.xz
ice-b37455c87ecfda7b91d2aa0817fe432c69088bdd.zip
Fixed bug #938
Diffstat (limited to 'java/src/IceGridGUI/Application/Root.java')
-rwxr-xr-xjava/src/IceGridGUI/Application/Root.java7
1 files changed, 3 insertions, 4 deletions
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);