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:
6ca7520
)
JAL-1635 show warning if less than 3 columns selected for translation
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 23 Jan 2015 13:27:10 +0000
(13:27 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 23 Jan 2015 13:27:10 +0000
(13:27 +0000)
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
3f0bb8c
..
84872ca
100644
(file)
--- a/
src/jalview/gui/AlignFrame.java
+++ b/
src/jalview/gui/AlignFrame.java
@@
-4889,7
+4889,7
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener,
JOptionPane.ERROR_MESSAGE);
return;
}
- if (al == null)
+ if (al == null || al.getHeight() == 0)
{
final String msg = MessageManager
.getString("label.select_at_least_three_bases_in_at_least_one_sequence_to_cDNA_translation");