From a31abdd471cb1d047371df919a4512c5617e3c25 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 27 Apr 2017 17:43:32 +0100 Subject: [PATCH] JAL-1933 use constant for preference token --- src/jalview/gui/AlignViewport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.2