IDEMPIERE-322 Process param YesNo with Display Logic => NPE
This commit is contained in:
parent
16d2cf6d8a
commit
b60cb7394b
|
@ -458,6 +458,7 @@ public class ProcessParameterPanel extends CPanel implements VetoableChangeListe
|
||||||
if (!comp.isVisible()) {
|
if (!comp.isVisible()) {
|
||||||
changedSize = true;
|
changedSize = true;
|
||||||
comp.setVisible(true); // visibility
|
comp.setVisible(true); // visibility
|
||||||
|
if (m_labels.get(index) != null)
|
||||||
m_labels.get(index).setVisible(true);
|
m_labels.get(index).setVisible(true);
|
||||||
if (m_mFields.get(index).getVO().isRange)
|
if (m_mFields.get(index).getVO().isRange)
|
||||||
m_separators.get(index).setText(" - ");
|
m_separators.get(index).setText(" - ");
|
||||||
|
@ -470,6 +471,7 @@ public class ProcessParameterPanel extends CPanel implements VetoableChangeListe
|
||||||
if (comp.isVisible()) {
|
if (comp.isVisible()) {
|
||||||
changedSize = true;
|
changedSize = true;
|
||||||
comp.setVisible(false);
|
comp.setVisible(false);
|
||||||
|
if (m_labels.get(index) != null)
|
||||||
m_labels.get(index).setVisible(false);
|
m_labels.get(index).setVisible(false);
|
||||||
if (m_mFields.get(index).getVO().isRange)
|
if (m_mFields.get(index).getVO().isRange)
|
||||||
m_separators.get(index).setText("");
|
m_separators.get(index).setText("");
|
||||||
|
|
Loading…
Reference in New Issue