JAL-2038 bug fix for NPE while setting progress message during d'n'd PDB files associ...
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Wed, 30 Mar 2016 10:14:06 +0000 (11:14 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Wed, 30 Mar 2016 10:14:06 +0000 (11:14 +0100)
src/jalview/structure/StructureSelectionManager.java

index 28fc3d1..a5d9736 100644 (file)
@@ -1290,6 +1290,10 @@ public class StructureSelectionManager
 
   public void setProgressBar(String message)
   {
+    if (progressIndicator == null)
+    {
+      return;
+    }
     progressIndicator.setProgressBar(message, progressSessionId);
   }