show a save dialog box!
authorjprocter <Jim Procter>
Fri, 17 Sep 2010 17:14:38 +0000 (17:14 +0000)
committerjprocter <Jim Procter>
Fri, 17 Sep 2010 17:14:38 +0000 (17:14 +0000)
src/jalview/gui/WsParamSetManager.java

index 77aaf8c..d03b6ca 100644 (file)
@@ -173,7 +173,7 @@ public class WsParamSetManager implements ParamManager
       chooser.setFileView(new jalview.io.JalviewFileView());
       chooser.setDialogTitle("Choose a filename for this parameter file");
       chooser.setToolTipText("Save");
-      int value = chooser.showOpenDialog(Desktop.instance);
+      int value = chooser.showSaveDialog(Desktop.instance);
       if (value == JalviewFileChooser.APPROVE_OPTION)
       {
         outfile = chooser.getSelectedFile();