IDEMPIERE-368 / Fix problem in process parameter panel
This commit is contained in:
parent
482903959c
commit
8bda458b0c
|
@ -129,7 +129,7 @@ public class WStringEditor extends WEditor implements ContextMenuListener
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
getComponent().setMultiline(false);
|
getComponent().setMultiline(false);
|
||||||
getComponent().setRows(gridField.getNumLines());
|
getComponent().setRows(gridField.getNumLines() <= 0 ? 1 : gridField.getNumLines());
|
||||||
|
|
||||||
if (getComponent() instanceof Textbox)
|
if (getComponent() instanceof Textbox)
|
||||||
((Textbox)getComponent()).setObscureType(obscureType);
|
((Textbox)getComponent()).setObscureType(obscureType);
|
||||||
|
|
Loading…
Reference in New Issue