JAL-1858 null img when doing full repaint of wrapped alignment
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Sat, 24 Jun 2017 08:29:18 +0000 (09:29 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Sat, 24 Jun 2017 08:29:18 +0000 (09:29 +0100)
src/jalview/gui/SeqCanvas.java

index 858b8c8..8707e9a 100755 (executable)
@@ -1002,6 +1002,7 @@ public class SeqCanvas extends JComponent implements ViewportListenerI
      */
     if (av.getWrapAlignment())
     {
+      img = null;
       av.setSearchResults(results);
       repaint();
       return;