IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window (#618)
* IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window * Revert "IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window" This reverts commit 74d5d07bea748f6405bfb6988a01fab1f605f720. * Implement suggestion from @hengsin
This commit is contained in:
parent
f8f17d5b85
commit
c60f420cec
|
@ -166,6 +166,7 @@ public class ProcessDialog extends AbstractProcessDialog implements EventListene
|
|||
super.onPageDetached(page);
|
||||
try {
|
||||
SessionManager.getSessionApplication().getKeylistener().removeEventListener(Events.ON_CTRL_KEY, this);
|
||||
SessionManager.getAppDesktop().unregisterWindow(m_WindowNo);
|
||||
} catch (Exception e) {}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue