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:
8359bd8
)
If selectionGroup is null, return
author
amwaterhouse
<Andrew Waterhouse>
Thu, 10 Nov 2005 11:05:04 +0000
(11:05 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 10 Nov 2005 11:05:04 +0000
(11:05 +0000)
src/jalview/gui/IdPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/IdPanel.java
b/src/jalview/gui/IdPanel.java
index
4032a5e
..
4a4ea63
100755
(executable)
--- a/
src/jalview/gui/IdPanel.java
+++ b/
src/jalview/gui/IdPanel.java
@@
-318,6
+318,9
@@
public class IdPanel extends JPanel implements MouseListener,
*/
\r
void selectSeqs(int start, int end)
\r
{
\r
+ if(av.getSelectionGroup()==null)
\r
+ return;
\r
+
\r
lastid = start;
\r
\r
if (end < start)
\r
@@
-330,7
+333,7
@@
public class IdPanel extends JPanel implements MouseListener,
\r
for (int i = start; i <= end; i++)
\r
{
\r
- av.getSelectionGroup().addSequence(av.getAlignment().getSequenceAt(i),
\r
+ av.getSelectionGroup().addSequence(av.getAlignment().getSequenceAt(i),
\r
true);
\r
}
\r
}
\r