From: jprocter Date: Fri, 17 Sep 2010 17:14:38 +0000 (+0000) Subject: show a save dialog box! X-Git-Tag: Release_2_6~32 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d2b25de19b91da86a58ccefa62ae111e210f75d7;p=jalview.git show a save dialog box! --- diff --git a/src/jalview/gui/WsParamSetManager.java b/src/jalview/gui/WsParamSetManager.java index 77aaf8c..d03b6ca 100644 --- a/src/jalview/gui/WsParamSetManager.java +++ b/src/jalview/gui/WsParamSetManager.java @@ -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();