git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1095858
)
JAL-3186 avoid repainting twice in splitframe
author
Jim Procter
<jprocter@issues.jalview.org>
Fri, 21 Feb 2020 15:10:57 +0000
(15:10 +0000)
committer
Jim Procter
<jprocter@issues.jalview.org>
Fri, 21 Feb 2020 15:10:57 +0000
(15:10 +0000)
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
7c0c55c
..
b7d8b3a
100644
(file)
--- 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