IDEMPIERE-981 Import File Loader Format problem

This commit is contained in:
Juliana Corredor 2013-05-29 18:34:18 -05:00
parent 73de31fbc0
commit dbeebf529f
1 changed files with 5 additions and 1 deletions

View File

@ -454,8 +454,12 @@ public class WFileImport extends ADForm implements EventListener<Event>
String formatName = (String)listitem.getLabel();
if (formatName.equals(s_none))
if (formatName.equals(s_none)) {
confirmPanel.getButton("Ok").setEnabled(false);
m_format=null;
return;
}
int formatId = (Integer)listitem.getValue();
m_format = ImpFormat.load (formatId);