From 94751f42fae76e075240eeac0c708abbc8cf9253 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 21 Dec 2016 16:52:12 +0000 Subject: [PATCH] JAL-2360 set new/loaded colour scheme name correctly --- src/jalview/gui/UserDefinedColours.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/UserDefinedColours.java b/src/jalview/gui/UserDefinedColours.java index cfc464e..9c9290f 100755 --- a/src/jalview/gui/UserDefinedColours.java +++ b/src/jalview/gui/UserDefinedColours.java @@ -528,7 +528,6 @@ public class UserDefinedColours extends GUserDefinedColours implements } UserColourScheme ucs = getSchemeFromButtons(); - ucs.setName(schemeName.getText()); if (seqGroup != null) { @@ -570,6 +569,7 @@ public class UserDefinedColours extends GUserDefinedColours implements } UserColourScheme ucs = new UserColourScheme(newColours); + ucs.setName(schemeName.getText()); if (caseSensitive.isSelected()) { -- 1.7.10.2