JAL-1909 repaint complementary alignment panel after up/down reordering
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 28 Sep 2015 09:10:13 +0000 (10:10 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 28 Sep 2015 09:10:13 +0000 (10:10 +0100)
src/jalview/appletgui/AlignFrame.java

index 610f874..fce74e3 100644 (file)
@@ -1752,9 +1752,7 @@ public class AlignFrame extends EmbmenuFrame implements ActionListener,
               viewport, complement);
       complement.getAlignment().moveSelectedSequencesByOne(mappedSelection,
               up ? null : complement.getHiddenRepSequences(), up);
-      // TODO need to trigger a repaint of the complementary panel - how?
-      // would prefer to handle in SplitFrame but it is not overriding key
-      // listener chiz
+      getSplitFrame().getComplement(this).alignPanel.paintAlignment(true);
     }
   }