JAL-1244 no status message (yet) for locked edit of single sequence
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 4 Oct 2018 13:14:48 +0000 (14:14 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 4 Oct 2018 13:14:48 +0000 (14:14 +0100)
src/jalview/gui/SeqPanel.java

index bdaf85c..0135e9d 100644 (file)
@@ -1430,8 +1430,15 @@ public class SeqPanel extends JPanel
     else
     // ///Editing a single sequence///////////
     {
-      String msg = getEditStatusMessage(insertGap, seq.getName());
-      ap.alignFrame.statusBar.setText(msg);
+      if (fixedRight == -1)
+      {
+        String msg = getEditStatusMessage(insertGap, seq.getName());
+        ap.alignFrame.statusBar.setText(msg);
+      }
+      else
+      {
+        ap.alignFrame.statusBar.setText(" ");
+      }
       if (insertGap)
       {
         // dragging to the right