IDEMPIERE-3115 - solve deprecation warning

This commit is contained in:
Carlos Ruiz 2017-10-20 11:48:39 +02:00
parent 0a930345ba
commit 60c4dc7306
1 changed files with 1 additions and 1 deletions

View File

@ -2055,7 +2055,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL
// eval only mandatory field
if (validateGrid.isMandatory(true)){
// update color of field
wEditor.updateLabelStyle();
wEditor.updateStyle();
Object data = wEditor.getValue();
if (data == null || data.toString().length() == 0) {
return false;