1003574 The "Print" button is mute and not working. Always show process info if there's error.
This commit is contained in:
parent
979c38bdfc
commit
dc1ac23175
|
@ -2900,7 +2900,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
|
|
||||||
if (Executions.getCurrent() != null)
|
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);
|
updateUI(pi);
|
||||||
}
|
}
|
||||||
|
@ -2911,7 +2911,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
//acquire desktop, 2 second timeout
|
//acquire desktop, 2 second timeout
|
||||||
Executions.activate(getComponent().getDesktop(), 2000);
|
Executions.activate(getComponent().getDesktop(), 2000);
|
||||||
try {
|
try {
|
||||||
if (notPrint) // refresh if not print
|
if (notPrint || pi.isError()) // show process info if it is not print or have error
|
||||||
{
|
{
|
||||||
updateUI(pi);
|
updateUI(pi);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue