summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/Root.java
diff options
context:
space:
mode:
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);