1003574 The "Print" button is mute and not working. Always show process info if there's error.

This commit is contained in:
Heng Sin Low 2013-12-13 17:11:33 +08:00
parent 979c38bdfc
commit dc1ac23175
1 changed files with 2 additions and 2 deletions

View File

@ -2900,7 +2900,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
if (Executions.getCurrent() != null)
{
if (notPrint) // refresh if not print
if (notPrint || pi.isError()) // show process info if it is not print or have error
{
updateUI(pi);
}
@ -2911,7 +2911,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
//acquire desktop, 2 second timeout
Executions.activate(getComponent().getDesktop(), 2000);
try {
if (notPrint) // refresh if not print
if (notPrint || pi.isError()) // show process info if it is not print or have error
{
updateUI(pi);
}