From: Jim Procter Date: Thu, 25 Jul 2024 16:00:53 +0000 (+0100) Subject: JAL-4386 fix viewstyle autotests X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=72d582b7cea3da49fb87b2fcaf154f78da8794c4;p=jalview.git JAL-4386 fix viewstyle autotests --- diff --git a/src/jalview/viewmodel/styles/ViewStyle.java b/src/jalview/viewmodel/styles/ViewStyle.java index 0726517..c9a1ad3 100644 --- a/src/jalview/viewmodel/styles/ViewStyle.java +++ b/src/jalview/viewmodel/styles/ViewStyle.java @@ -232,6 +232,7 @@ public class ViewStyle implements ViewStyleI setWrapAlignment(vs.getWrapAlignment()); setWrappedWidth(vs.getWrappedWidth()); setSecondaryStructureSources(vs.getSecondaryStructureSources()); + setShowStructureProvider(vs.isShowStructureProvider()); // ViewStyle.configureFrom(this, viewStyle); } @@ -297,7 +298,8 @@ public class ViewStyle implements ViewStyleI && isUpperCasebold() == vs.isUpperCasebold() && getWrapAlignment() == vs.getWrapAlignment() && getWrappedWidth() == vs.getWrappedWidth() - && getSecondaryStructureSources() == vs.getSecondaryStructureSources()); + && getSecondaryStructureSources() == vs.getSecondaryStructureSources() + && isShowStructureProvider() == vs.isShowStructureProvider()); /* * and compare non-primitive types; syntax below will match null with null * values