From 72d582b7cea3da49fb87b2fcaf154f78da8794c4 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 25 Jul 2024 17:00:53 +0100 Subject: [PATCH] JAL-4386 fix viewstyle autotests --- src/jalview/viewmodel/styles/ViewStyle.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 1.7.10.2