IDEMPIERE-736 Payment Allocation appear a vertical line in the inferior right corner
This commit is contained in:
parent
25a94f6f1d
commit
a32403d761
|
@ -152,15 +152,17 @@ public class StatusBarPanel extends Panel implements EventListener<Event>, IStat
|
|||
*/
|
||||
public void setStatusDB (String text, DataStatusEvent dse)
|
||||
{
|
||||
if (text == null || text.length() == 0)
|
||||
if (text == null || text.trim().length() == 0)
|
||||
{
|
||||
statusDB.setValue("");
|
||||
statusDB.setVisible(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
StringBuilder sb = new StringBuilder (" ");
|
||||
sb.append(text).append(" ");
|
||||
statusDB.setValue(sb.toString());
|
||||
statusDB.setVisible(true);
|
||||
}
|
||||
|
||||
m_text = text;
|
||||
|
|
|
@ -455,7 +455,7 @@ public final class WAccountDialog extends Window
|
|||
m_adTabPanel.switchRowPresentation();
|
||||
|
||||
statusBar.setStatusLine(s_AcctSchema.toString());
|
||||
statusBar.setStatusDB("?");
|
||||
statusBar.setStatusDB("");
|
||||
|
||||
// Initial value
|
||||
if (m_mAccount.C_ValidCombination_ID != 0)
|
||||
|
|
Loading…
Reference in New Issue