Skip to content
Snippets Groups Projects
Commit 4dca8b62 authored by Gregory Viguier's avatar Gregory Viguier Committed by MADELA Patrick
Browse files

DockingFile was locale dependant

parent 68b277ae
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,13 @@ public class VlDockView implements IView, Dockable, DockingActionListener, Focus
this.icon = icon;
this.component = component;
this.id = id;
this.key = new DockKey(title, title, title, icon);
if (id instanceof String){
String stringId = (String) id;
this.key = new DockKey(stringId, title, title, icon);
} else {
this.key = new DockKey(title, title, title, icon);
}
this.viewListeners = new ArrayList<IViewListener>();
this.component.addFocusListener(this);
}
......@@ -212,3 +218,4 @@ public class VlDockView implements IView, Dockable, DockingActionListener, Focus
// Not managed.
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment