iIDEMPIERE-3008 Store divider of tree panel location for window per user / peer review

This commit is contained in:
Carlos Ruiz 2016-01-20 16:18:52 +01:00
parent 36e41f171b
commit 3ea9967118
1 changed files with 3 additions and 2 deletions

View File

@ -131,7 +131,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
/**
*
*/
private static final long serialVersionUID = -3728896318124756192L;
private static final long serialVersionUID = -6108216899210485771L;
private static final String ON_SAVE_OPEN_PREFERENCE_EVENT = "onSaveOpenPreference";
@ -1180,8 +1180,9 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
if (windowId > 0 && adTabId > 0) {
width = Env.getPreference(Env.getCtx(), windowId, adTabId+"|TreePanel.Width", false);
}
else
if (Util.isEmpty(width)) {
width = DEFAULT_PANEL_WIDTH;
}
return width;
}
private void navigateTo(DefaultTreeNode<MTreeNode> value) {