From: Jim Procter Date: Fri, 21 Feb 2020 15:10:57 +0000 (+0000) Subject: JAL-3186 avoid repainting twice in splitframe X-Git-Tag: Develop-2_11_2_0-d20201215~100 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=45281279529211c2a8d2b8946d2c5722a06a308e;p=jalview.git JAL-3186 avoid repainting twice in splitframe --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 7c0c55c..b7d8b3a 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -4694,12 +4694,15 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, { if (parseFeaturesFile(file, sourceType)) { - alignPanel.paintAlignment(true, true); SplitFrame splitFrame = (SplitFrame) getSplitViewContainer(); if (splitFrame != null) { splitFrame.repaint(); } + else + { + alignPanel.paintAlignment(true, true); + } } } else