* unregister bug, show ProcessModalDialog after it have been dispose
This commit is contained in:
parent
16b63ce410
commit
b01af39951
|
@ -2021,7 +2021,8 @@ public final class APanel extends CPanel
|
|||
ProcessModalDialog dialog = new ProcessModalDialog(m_ctx, Env.getWindow(m_curWindowNo), Env.getHeader(m_ctx, m_curWindowNo),
|
||||
this, m_curWindowNo, vButton.getProcess_ID(), table_ID,
|
||||
record_ID, startWOasking);
|
||||
AEnv.showCenterWindow(Env.getWindow(m_curWindowNo), dialog);
|
||||
if (dialog.isValid())
|
||||
AEnv.showCenterWindow(Env.getWindow(m_curWindowNo), dialog);
|
||||
} // actionButton
|
||||
|
||||
|
||||
|
|
|
@ -87,6 +87,7 @@ public class ProcessModalDialog extends CDialog
|
|||
private String m_Name = null;
|
||||
private StringBuffer m_messageText = new StringBuffer();
|
||||
private String m_ShowHelp = null; // Determine if a Help Process Window is shown
|
||||
private boolean m_valid = true;
|
||||
|
||||
/** Logger */
|
||||
private static CLogger log = CLogger.getCLogger(ProcessDialog.class);
|
||||
|
@ -176,9 +177,14 @@ public class ProcessModalDialog extends CDialog
|
|||
*/
|
||||
public void dispose()
|
||||
{
|
||||
m_valid = false;
|
||||
super.dispose();
|
||||
} // dispose
|
||||
|
||||
public boolean isValid()
|
||||
{
|
||||
return m_valid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Dynamic Init
|
||||
|
|
Loading…
Reference in New Issue