JAL-1136 give pre-existing custom settings a special name when job parameter settings...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 5 Sep 2012 20:54:57 +0000 (21:54 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 5 Sep 2012 20:54:57 +0000 (21:54 +0100)
src/jalview/gui/WsJobParameters.java

index b936efb..d43bd77 100644 (file)
@@ -548,7 +548,10 @@ public class WsJobParameters extends JPanel implements ItemListener,
       if (jobArgset != null && jobArgset.size() > 0)
       {
         curSetName = "Supplied Settings";
+        isUserPreset=false;
         updateTable(p, jobArgset);
+        setName.setSelectedItem(curSetName);
+        updateButtonDisplay();
       }
       else
       {