1.1.0p7a Lead to new problems

DockingViewWrapper dvw = new DockingViewWrapper(view.getViewTitle(), view);
            dvw.setViewFunction(view);
            control.addDockable(dvw);
            if (selView != null) {
                CLocation cl = selView.getBaseLocation();
                if (cl != null) {
                    if (cl instanceof AbstractStackholdingLocation) {
                        if (cl instanceof CStackLocation) {
                            dvw.setLocation(((CStackLocation) cl).stack());
                        } else {
                            dvw.setLocation(((AbstractStackholdingLocation) cl).stack(0));
                        }
                    } else {
                        dvw.setLocation(cl.aside());
                    }
                }
            }
            dvw.setVisible(true);
            dvw.setViewActive(true);
            view.initFunction();

The code above does not work properly now.
cl type = bibliothek.gui.dock.common.location.TreeLocationLeaf

Thanks, that is an interesting bug :slight_smile: . I’ll fix it in the evening.

[Edit: actually, there were two bugs counteracting each other. I’ve corrected one of them in the last version, and as a result the other one (the one you see) is now visible.]