IDEMPIERE-6285 - Component doesn't enable when user clicks on new record if positioned in a record without access (#2513)
This commit is contained in:
parent
87f6d93d8c
commit
4ab86f7f4e
|
@ -464,6 +464,8 @@ ContextMenuListener, IZoomableEditor
|
|||
getComponent().setValue(null);
|
||||
getComponent().setSelectedItem(null);
|
||||
oldValue = value;
|
||||
if (gridField!=null)
|
||||
gridField.setLockedRecord(false);
|
||||
|
||||
if (getComponent() instanceof EditorAutoComplete && gridField!=null) // IDEMPIERE-4442 Fix NPE, for Autocomplete in non Grid Usage.
|
||||
updateStyle();
|
||||
|
|
Loading…
Reference in New Issue