Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
Merge pull request #111 from dnorgaard-usgs/master
Browse files Browse the repository at this point in the history
Set file name to display in file type dialog.
  • Loading branch information
Diana Norgaard authored Jun 6, 2017
2 parents cff432f + 0e32987 commit adcf2b6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,7 @@ public void openFile(final File f, FileTypeDialog dialog) {
if (file == null) {
FileType fileType = dialog.getFileType();
if (!dialog.isOpen() || (dialog.isOpen() && !dialog.isAssumeSame())) {
dialog.setFilename(f.getName());
dialog.setVisible(true);

if (dialog.isCancelled() || dialog.getFileType() == null) {
Expand Down

0 comments on commit adcf2b6

Please sign in to comment.