JAL-1988 JAL-3772 wait timer working first time but blocking desktop gui updates
[jalview.git] / src / jalview / io / BackupFiles.java
index 88524d1..3024edf 100644 (file)
@@ -166,7 +166,12 @@ public class BackupFiles
 
   public static boolean hasSavesInProgress()
   {
-    return savesInProgress.size() > 0;
+    boolean has = false;
+    for (CompletableFuture cf : savesInProgressCompletableFutures())
+    {
+      has |= !cf.isDone();
+    }
+    return has;
   }
 
   public static List<File> savesInProgressFiles()