From 9e5d5ada4ab06911b15cbf71a4b49a228357d440 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Fri, 20 Jun 2008 11:36:10 +0000 Subject: [PATCH] BF [ 1996056 ] Report error message is not displayed BF [ 1998575 ] Document Print is discarding any error --- client/src/org/compiere/apps/APanel.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/client/src/org/compiere/apps/APanel.java b/client/src/org/compiere/apps/APanel.java index 9ae1ab452a..11a7166b5a 100644 --- a/client/src/org/compiere/apps/APanel.java +++ b/client/src/org/compiere/apps/APanel.java @@ -52,8 +52,10 @@ import org.compiere.util.*; * @contributor Victor Perez , e-Evolution.SC FR [ 1757088 ] * @contributor fer_luck@centuryon.com , FR [ 1757088 ] * @author Teo Sarca, SC ARHIPAC SERVICE SRL - *
  • BF [ 1824621 ] History button can't be canceled - *
  • BF [ 1941271 ] VTreePanel is modifying even if is save wasn't successfull + *
  • BF [ 1824621 ] History button can't be canceled + *
  • BF [ 1941271 ] VTreePanel is modifying even if is save wasn't successfull + *
  • BF [ 1996056 ] Report error message is not displayed + *
  • BF [ 1998575 ] Document Print is discarding any error * @author victor.perez@e-evolution.com * @see FR [ 1966328 ] New Window Info to MRP and CRP into View http://sourceforge.net/tracker/index.php?func=detail&aid=1966328&group_id=176962&atid=879335 * @@ -1920,6 +1922,7 @@ public final class APanel extends CPanel pi.setPrintPreview(printPreview); ProcessCtl.process(this, m_curWindowNo, pi, null); // calls lockUI, unlockUI + statusBar.setStatusLine(pi.getSummary(), pi.isError()); } // cmd_print /** @@ -2361,6 +2364,11 @@ public final class APanel extends CPanel ADialog.info(m_curWindowNo, this, Env.getHeader(m_ctx, m_curWindowNo), pi.getTitle(), logInfo); // clear text } + else + { + // Update Status Line + setStatusLine(pi.getSummary(), pi.isError()); + } } // unlockUI /**