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:
0201d2b
)
if shift down bug fixed
author
amwaterhouse
<Andrew Waterhouse>
Wed, 15 Feb 2006 15:23:26 +0000
(15:23 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 15 Feb 2006 15:23:26 +0000
(15:23 +0000)
src/jalview/gui/UserDefinedColours.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/UserDefinedColours.java
b/src/jalview/gui/UserDefinedColours.java
index
089c8a9
..
556ae41
100755
(executable)
--- a/
src/jalview/gui/UserDefinedColours.java
+++ b/
src/jalview/gui/UserDefinedColours.java
@@
-175,7
+175,7
@@
public class UserDefinedColours extends GUserDefinedColours
if(e.isShiftDown())
\r
{
\r
JButton start, end = (JButton) e.getSource();
\r
- if(selectedButtons.size()>1)
\r
+ if(selectedButtons.size()>0)
\r
start = (JButton)selectedButtons.elementAt(selectedButtons.size()-1);
\r
else
\r
start = (JButton) e.getSource();
\r