Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP7439 - Fixed batch import task dialog jumping

dragonmacher67334d1542d0
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/batch/BatchInfo.java b/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/batch/BatchInfo.java
index 71d7a43639..c3b9d39ba4 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/batch/BatchInfo.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/batch/BatchInfo.java
@@ -493,7 +493,7 @@ public class BatchInfo {
// start a new CryptoSession to group all password prompting by multiple container
// files into a single session, enabling "Cancel All" to really cancel all password
// prompts
- try (CryptoSession cryptoSession = fsService.newCryptoSession()) {
+ try (CryptoSession _ = fsService.newCryptoSession()) {
List<FSRL> badFiles = new ArrayList<>();
for (FSRL fsrl : filesToAdd) {
batchMonitor.setPrefix("Processing " + fsrl.getName() + ": ");
@@ -574,6 +574,13 @@ public class BatchInfo {
public void setProgress(long value) {
// we control the progress
}
+
+ @Override
+ public synchronized void setIndeterminate(boolean indeterminate) {
+ // Some low-level APIs toggle this as they work. The batch import monitor will show
+ // status text messages as it works. Keep those messages visible and ignore requests
+ // to show the indeterminate screen.
+ }
}
}