IDEMPIERE-3083 Initial Client Setup Process - Not unique in the ID space / IDEMPIERE-3071

This commit is contained in:
Carlos Ruiz 2016-04-28 22:31:05 -07:00
parent 32b3ea2fe4
commit 21693e24a9
1 changed files with 4 additions and 1 deletions

View File

@ -221,13 +221,13 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
m_pi.setTitle(m_Name); m_pi.setTitle(m_Name);
parameterPanel = new ProcessParameterPanel(m_WindowNo, m_pi); parameterPanel = new ProcessParameterPanel(m_WindowNo, m_pi);
layout();
if ( !parameterPanel.init() ) { if ( !parameterPanel.init() ) {
if (m_ShowHelp != null && MProcess.SHOWHELP_DonTShowHelp.equals(m_ShowHelp)) if (m_ShowHelp != null && MProcess.SHOWHELP_DonTShowHelp.equals(m_ShowHelp))
autoStart = true; autoStart = true;
if (autoStart) if (autoStart)
{ {
layout();
bOK.setDisabled(true); bOK.setDisabled(true);
bCancel.setDisabled(true); bCancel.setDisabled(true);
autoStart(); autoStart();
@ -238,11 +238,14 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
// Check if the process is a silent one // Check if the process is a silent one
if (isValid() && m_ShowHelp != null && MProcess.SHOWHELP_RunSilently_TakeDefaults.equals(m_ShowHelp)) if (isValid() && m_ShowHelp != null && MProcess.SHOWHELP_RunSilently_TakeDefaults.equals(m_ShowHelp))
{ {
layout();
bOK.setDisabled(true); bOK.setDisabled(true);
bCancel.setDisabled(true); bCancel.setDisabled(true);
autoStart(); autoStart();
return true; return true;
} }
layout();
return true; return true;
} }