IDEMPIERE-581 Store divider location for window per user / fix issue with System user - thanks to Nicolas Micoud (nmicoud)
This commit is contained in:
parent
2c5da3594b
commit
9f0809eb8d
|
@ -1747,7 +1747,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
|
||||||
if (preference == null || preference.getAD_Preference_ID() <= 0) {
|
if (preference == null || preference.getAD_Preference_ID() <= 0) {
|
||||||
preference = new MPreference(Env.getCtx(), 0, null);
|
preference = new MPreference(Env.getCtx(), 0, null);
|
||||||
preference.setAD_Window_ID(windowId);
|
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.setAttribute(adTabId+"|DetailPane.Height");
|
||||||
}
|
}
|
||||||
preference.setValue(height);
|
preference.setValue(height);
|
||||||
|
|
Loading…
Reference in New Issue