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)
|
public void setStatusDB (String text, DataStatusEvent dse)
|
||||||
{
|
{
|
||||||
if (text == null || text.length() == 0)
|
if (text == null || text.trim().length() == 0)
|
||||||
{
|
{
|
||||||
statusDB.setValue("");
|
statusDB.setValue("");
|
||||||
|
statusDB.setVisible(false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder (" ");
|
StringBuilder sb = new StringBuilder (" ");
|
||||||
sb.append(text).append(" ");
|
sb.append(text).append(" ");
|
||||||
statusDB.setValue(sb.toString());
|
statusDB.setValue(sb.toString());
|
||||||
|
statusDB.setVisible(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_text = text;
|
m_text = text;
|
||||||
|
|
|
@ -455,7 +455,7 @@ public final class WAccountDialog extends Window
|
||||||
m_adTabPanel.switchRowPresentation();
|
m_adTabPanel.switchRowPresentation();
|
||||||
|
|
||||||
statusBar.setStatusLine(s_AcctSchema.toString());
|
statusBar.setStatusLine(s_AcctSchema.toString());
|
||||||
statusBar.setStatusDB("?");
|
statusBar.setStatusDB("");
|
||||||
|
|
||||||
// Initial value
|
// Initial value
|
||||||
if (m_mAccount.C_ValidCombination_ID != 0)
|
if (m_mAccount.C_ValidCombination_ID != 0)
|
||||||
|
|
Loading…
Reference in New Issue