This commit is contained in:
@@ -143,7 +143,14 @@ public class XPS extends ScriptProcessor {
|
||||
}
|
||||
|
||||
try{
|
||||
textCurScan.setText(getGlobalVar("CURRENT_REGION").toString());
|
||||
Object region = getGlobalVar("CURRENT_REGION");
|
||||
Object pass = getGlobalVar("CURRENT_PASS");
|
||||
Number no_pases = (Number) getGlobalVar("PASSES");
|
||||
String text = region.toString();
|
||||
if (no_pases.intValue()>1){
|
||||
text = text + " [" + pass + "]";
|
||||
}
|
||||
textCurScan.setText(text);
|
||||
} catch(Exception ex){
|
||||
getLogger().log(Level.FINER, null, ex);
|
||||
textCurScan.setText("");
|
||||
|
||||
Reference in New Issue
Block a user