From: Jim Procter Date: Thu, 27 Apr 2017 16:43:32 +0000 (+0100) Subject: JAL-1933 use constant for preference token X-Git-Tag: Release_2_10_2~3^2~119^2~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a31abdd471cb1d047371df919a4512c5617e3c25;p=jalview.git JAL-1933 use constant for preference token --- diff --git a/src/jalview/gui/AlignViewport.java b/src/jalview/gui/AlignViewport.java index 992ec54..26a7a3a 100644 --- a/src/jalview/gui/AlignViewport.java +++ b/src/jalview/gui/AlignViewport.java @@ -280,7 +280,7 @@ public class AlignViewport extends AlignmentViewport implements showGroupConsensus = Cache.getDefault("SHOW_GROUP_CONSENSUS", false); showConsensus = Cache.getDefault("SHOW_IDENTITY", true); - showOccupancy = Cache.getDefault("SHOW_OCCUPANCY", true); + showOccupancy = Cache.getDefault(Preferences.SHOW_OCCUPANCY, true); } initAutoAnnotation(); String colourProperty = alignment.isNucleotide() ? Preferences.DEFAULT_COLOUR_NUC