git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3201 restore group colours correctly from project
[jalview.git]
/
src
/
jalview
/
viewmodel
/
AlignmentViewport.java
diff --git
a/src/jalview/viewmodel/AlignmentViewport.java
b/src/jalview/viewmodel/AlignmentViewport.java
index
ca32ee7
..
8438492
100644
(file)
--- a/
src/jalview/viewmodel/AlignmentViewport.java
+++ b/
src/jalview/viewmodel/AlignmentViewport.java
@@
-662,7
+662,8
@@
public abstract class AlignmentViewport
* retain any colour thresholds per group while
* changing choice of colour scheme (JAL-2386)
*/
* retain any colour thresholds per group while
* changing choice of colour scheme (JAL-2386)
*/
- sg.setColourScheme(cs.getInstance(sg, hiddenRepSequences));
+ sg.setColourScheme(
+ cs == null ? null : cs.getInstance(sg, hiddenRepSequences));
if (cs != null)
{
sg.getGroupColourScheme().alignmentChanged(sg,
if (cs != null)
{
sg.getGroupColourScheme().alignmentChanged(sg,