org.adempiere.webui.apps.ProcessDialog.startProcess: fix indentation
This commit is contained in:
parent
6b49111199
commit
05de2904a2
|
@ -254,10 +254,10 @@ public class ProcessDialog extends Window implements EventListener//, ASyncProce
|
||||||
public void startProcess()
|
public void startProcess()
|
||||||
{
|
{
|
||||||
m_pi.setPrintPreview(true);
|
m_pi.setPrintPreview(true);
|
||||||
|
|
||||||
if (!getDesktop().isServerPushEnabled())
|
if (!getDesktop().isServerPushEnabled())
|
||||||
getDesktop().enableServerPush(true);
|
getDesktop().enableServerPush(true);
|
||||||
|
|
||||||
this.lockUI(m_pi);
|
this.lockUI(m_pi);
|
||||||
Runnable runnable = new Runnable() {
|
Runnable runnable = new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
@ -267,11 +267,11 @@ public class ProcessDialog extends Window implements EventListener//, ASyncProce
|
||||||
Executions.activate(desktop);
|
Executions.activate(desktop);
|
||||||
try {
|
try {
|
||||||
ProcessCtl.process(null, m_WindowNo, parameterPanel, m_pi, null);
|
ProcessCtl.process(null, m_WindowNo, parameterPanel, m_pi, null);
|
||||||
} finally{
|
} finally{
|
||||||
unlockUI(m_pi);
|
unlockUI(m_pi);
|
||||||
//release full control of desktop
|
//release full control of desktop
|
||||||
Executions.deactivate(desktop);
|
Executions.deactivate(desktop);
|
||||||
}
|
}
|
||||||
} catch (DesktopUnavailableException e) {
|
} catch (DesktopUnavailableException e) {
|
||||||
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
log.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
|
|
Loading…
Reference in New Issue