From 05de2904a21441d934d225dd058f222d5e4f9b66 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Thu, 31 Jul 2008 18:07:44 +0000 Subject: [PATCH] org.adempiere.webui.apps.ProcessDialog.startProcess: fix indentation --- .../org/adempiere/webui/apps/ProcessDialog.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java index 34bb214f5b..d836ffa8b2 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java @@ -254,10 +254,10 @@ public class ProcessDialog extends Window implements EventListener//, ASyncProce public void startProcess() { m_pi.setPrintPreview(true); - + if (!getDesktop().isServerPushEnabled()) getDesktop().enableServerPush(true); - + this.lockUI(m_pi); Runnable runnable = new Runnable() { public void run() { @@ -267,11 +267,11 @@ public class ProcessDialog extends Window implements EventListener//, ASyncProce Executions.activate(desktop); try { ProcessCtl.process(null, m_WindowNo, parameterPanel, m_pi, null); - } finally{ - unlockUI(m_pi); - //release full control of desktop - Executions.deactivate(desktop); - } + } finally{ + unlockUI(m_pi); + //release full control of desktop + Executions.deactivate(desktop); + } } catch (DesktopUnavailableException e) { log.log(Level.SEVERE, e.getLocalizedMessage(), e); } catch (InterruptedException e) {