Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2013-12-25 14:07:25 -0500
committerTom Schindl2013-12-25 14:07:25 -0500
commit1df9a98b4f1284a790c80a2770b363060210d2e8 (patch)
tree809236c79169756785aaac5b3c1387f42e03d443
parent95e32dae4dff3fc5b5eab39cbc706e7a894e5280 (diff)
downloadorg.eclipse.efxclipse-1df9a98b4f1284a790c80a2770b363060210d2e8.tar.gz
org.eclipse.efxclipse-1df9a98b4f1284a790c80a2770b363060210d2e8.tar.xz
org.eclipse.efxclipse-1df9a98b4f1284a790c80a2770b363060210d2e8.zip
Bug 424632 - Closing window causes ClassCastException
-rwxr-xr-xbundles/runtime/org.eclipse.fx.ui.workbench.renderers.base/src/org/eclipse/fx/ui/workbench/renderers/base/BaseWindowRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/runtime/org.eclipse.fx.ui.workbench.renderers.base/src/org/eclipse/fx/ui/workbench/renderers/base/BaseWindowRenderer.java b/bundles/runtime/org.eclipse.fx.ui.workbench.renderers.base/src/org/eclipse/fx/ui/workbench/renderers/base/BaseWindowRenderer.java
index 032b193c4..4d2ce8f0d 100755
--- a/bundles/runtime/org.eclipse.fx.ui.workbench.renderers.base/src/org/eclipse/fx/ui/workbench/renderers/base/BaseWindowRenderer.java
+++ b/bundles/runtime/org.eclipse.fx.ui.workbench.renderers.base/src/org/eclipse/fx/ui/workbench/renderers/base/BaseWindowRenderer.java
@@ -351,7 +351,7 @@ public abstract class BaseWindowRenderer<N> extends BaseRenderer<MWindow,WWindow
WLayoutedWidget<MWindowElement> widget = (WLayoutedWidget<MWindowElement>) changedObj.getWidget();
window.removeChild(widget);
}
- } else {
+ } else if( changedObj instanceof MWindow ) {
WWindow<N> window = getWidget(container);
if( window != null ) {
WWindow<N> ww = (WWindow<N>) changedObj.getWidget();

Back to the top