From: gmungoc Date: Thu, 3 Jan 2019 17:11:02 +0000 (+0000) Subject: JAL-3181 order link menu items X-Git-Tag: Release_2_11_0~17^2~28^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b22e1863f9c10dbff13ca8bc889255b91f0c4d1c;p=jalview.git JAL-3181 order link menu items --- diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index ed3d29a..473ac3a 100644 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -618,6 +618,7 @@ public class PopupMenu extends JPopupMenu implements ColourChangeListener if (seq != null) { nlinks = Preferences.sequenceUrlLinks.getLinksForMenu(); + UrlLink.sort(nlinks); } else { diff --git a/src/jalview/urls/CustomUrlProvider.java b/src/jalview/urls/CustomUrlProvider.java index 86d5660..d23f771 100644 --- a/src/jalview/urls/CustomUrlProvider.java +++ b/src/jalview/urls/CustomUrlProvider.java @@ -107,12 +107,12 @@ public class CustomUrlProvider extends UrlProviderImpl { // cachedUrlList is in form