From: gmungoc Date: Wed, 21 Dec 2016 16:52:12 +0000 (+0000) Subject: JAL-2360 set new/loaded colour scheme name correctly X-Git-Tag: Release_2_10_3b1~357^2~32 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=94751f42fae76e075240eeac0c708abbc8cf9253;p=jalview.git JAL-2360 set new/loaded colour scheme name correctly --- 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()) {