JAL-2988 workaround for jalview save as dialogs - clear filename before displaying
authorJim Procter <jprocter@issues.jalview.org>
Wed, 22 Aug 2018 13:54:29 +0000 (14:54 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 22 Aug 2018 13:54:29 +0000 (14:54 +0100)
src/jalview/io/JalviewFileChooser.java

index c49e34f..cb42662 100755 (executable)
@@ -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)