Skip to content
Snippets Groups Projects
Commit f3696c66 authored by Raphael GIRARDOT's avatar Raphael GIRARDOT Committed by Patrick MADELA
Browse files

minor bug correction

parent 418c6b01
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,7 @@ public abstract class AbstractViewFactory implements IViewFactory { ...@@ -126,7 +126,7 @@ public abstract class AbstractViewFactory implements IViewFactory {
public IView addView(String title, Icon icon, Component component, Object id, JComponent dockingArea) { public IView addView(String title, Icon icon, Component component, Object id, JComponent dockingArea) {
IView view = createView(title, icon, component, id); IView view = createView(title, icon, component, id);
updateViewForDockingArea(view, dockingArea); updateViewForDockingArea(view, dockingArea);
return addView(view, false); return addView(view, dockingArea == null);
} }
protected abstract IView createView(String title, Icon icon, Component component, Object id); protected abstract IView createView(String title, Icon icon, Component component, Object id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment