JAL-3390 first draft of showing only visible alignment in Chimera
[jalview.git] / src / jalview / gui / ChimeraViewFrame.java
index a7349b8..6c35a9c 100644 (file)
@@ -834,10 +834,8 @@ public class ChimeraViewFrame extends StructureViewerBase
   protected String alignStructs_withAllAlignPanels()
   {
     String reply = super.alignStructs_withAllAlignPanels();
-    if (reply != null)
-    {
-      statusBar.setText("Superposition failed: " + reply);
-    }
+    statusBar.setText(
+            reply == null ? " " : "Superposition failed: " + reply);
     return reply;
   }