IDEMPIERE-736 Payment Allocation appear a vertical line in the inferior right corner

This commit is contained in:
Carlos Ruiz 2013-03-13 17:38:59 -05:00
parent 25a94f6f1d
commit a32403d761
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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)