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:
d7b6fc2
)
catch any pid or conservation related bugs here
author
amwaterhouse
<Andrew Waterhouse>
Tue, 15 Feb 2005 10:46:08 +0000
(10:46 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 15 Feb 2005 10:46:08 +0000
(10:46 +0000)
src/jalview/gui/UserDefinedColours.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/UserDefinedColours.java
b/src/jalview/gui/UserDefinedColours.java
index
1a3fa86
..
642f473
100755
(executable)
--- a/
src/jalview/gui/UserDefinedColours.java
+++ b/
src/jalview/gui/UserDefinedColours.java
@@
-60,8
+60,10
@@
public class UserDefinedColours extends GUserDefinedColours implements ChangeLis
else
\r
cs = ap.av.getGlobalColourScheme();
\r
\r
- if(cs!=null)
\r
- col = cs.findColour( aa, -1, null);
\r
+
\r
+ try{
\r
+ col = cs.findColour(aa, -1, null);
\r
+ }catch(Exception ex){}
\r
\r
button.setBackground( col );
\r
oldColours.addElement( col );
\r