From: Jim Procter Date: Wed, 22 Aug 2018 13:54:29 +0000 (+0100) Subject: JAL-2988 workaround for jalview save as dialogs - clear filename before displaying X-Git-Tag: Release_2_10_5~20^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=03b5cd59b9704de58c3090fd18ed781e4b04aaad;p=jalview.git JAL-2988 workaround for jalview save as dialogs - clear filename before displaying --- diff --git a/src/jalview/io/JalviewFileChooser.java b/src/jalview/io/JalviewFileChooser.java index c49e34f..cb42662 100755 --- a/src/jalview/io/JalviewFileChooser.java +++ b/src/jalview/io/JalviewFileChooser.java @@ -285,6 +285,7 @@ public class JalviewFileChooser extends JFileChooser setDialogType(SAVE_DIALOG); + this.setSelectedFile(null); int ret = showDialog(parent, MessageManager.getString("action.save")); if (getFileFilter() instanceof JalviewFileFilter)