Skip to content
Snippets Groups Projects
Commit f3987159 authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

docking bug correction

parent 07c807be
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,10 @@ public class VlDockViewFactory extends AbstractViewFactory {
@Override
protected void updateViewForDockingArea(IView view, JComponent dockingArea) {
if ((view instanceof VlDockView) && (dockingArea instanceof SoleilDockingDesktop)) {
((VlDockView) view).setDockingDesktop((SoleilDockingDesktop) dockingArea);
VlDockView vlDockView = (VlDockView) view;
SoleilDockingDesktop dockingDesktop = (SoleilDockingDesktop) dockingArea;
dockingDesktop.addDockable(vlDockView);
vlDockView.setDockingDesktop(dockingDesktop);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment