From 03b5cd59b9704de58c3090fd18ed781e4b04aaad Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 22 Aug 2018 14:54:29 +0100 Subject: [PATCH] JAL-2988 workaround for jalview save as dialogs - clear filename before displaying --- src/jalview/io/JalviewFileChooser.java | 1 + 1 file changed, 1 insertion(+) 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) -- 1.7.10.2