2799797 Process error message not obvious to user

https://sourceforge.net/tracker/?func=detail&aid=2799797&group_id=176962&atid=879332
This commit is contained in:
phib 2009-06-02 14:11:41 +00:00
parent 5332d1402f
commit 16bd24c7ea
1 changed files with 4 additions and 0 deletions

View File

@ -2505,6 +2505,8 @@ public final class APanel extends CPanel
m_curGC.dynamicDisplay(0); m_curGC.dynamicDisplay(0);
// Update Status Line // Update Status Line
setStatusLine(pi.getSummary(), pi.isError()); setStatusLine(pi.getSummary(), pi.isError());
if ( pi.isError() )
ADialog.error(m_curWindowNo, this, null, pi.getSummary());
// Get Log Info // Get Log Info
ProcessInfoUtil.setLogFromDB(pi); ProcessInfoUtil.setLogFromDB(pi);
String logInfo = pi.getLogInfo(); String logInfo = pi.getLogInfo();
@ -2516,6 +2518,8 @@ public final class APanel extends CPanel
{ {
// Update Status Line // Update Status Line
setStatusLine(pi.getSummary(), pi.isError()); setStatusLine(pi.getSummary(), pi.isError());
if ( pi.isError() )
ADialog.error(m_curWindowNo, this, null, pi.getSummary());
} }
} // unlockUI } // unlockUI