IDEMPIERE-4655 WTimeEditor display time picker button when read only. (#535)

Co-authored-by: HideakiHagiwara <h.hagiwara@gmail.com>
This commit is contained in:
HideakiHagiwara 2021-01-20 21:05:16 +09:00 committed by GitHub
parent 59b83c3361
commit cdb21c0698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ public class WTimeEditor extends WEditor implements ContextMenuListener
@Override
public void setReadWrite(boolean readWrite) {
getComponent().setReadonly(!readWrite);
getComponent().setButtonVisible(readWrite);
}
@Override