IDEMPIERE-581 Store divider location for window per user / fix issue with System user - thanks to Nicolas Micoud (nmicoud)

This commit is contained in:
Carlos Ruiz 2015-04-29 06:58:33 -05:00
parent 2c5da3594b
commit 9f0809eb8d
1 changed files with 1 additions and 1 deletions

View File

@ -1747,7 +1747,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
if (preference == null || preference.getAD_Preference_ID() <= 0) {
preference = new MPreference(Env.getCtx(), 0, null);
preference.setAD_Window_ID(windowId);
preference.setAD_User_ID(userId);
preference.set_ValueOfColumn("AD_User_ID", userId); // required set_Value for System=0 user
preference.setAttribute(adTabId+"|DetailPane.Height");
}
preference.setValue(height);