Skip to content

Commit

Permalink
show only jars
Browse files Browse the repository at this point in the history
  • Loading branch information
krasa committed Jan 10, 2021
1 parent 91ad317 commit d1c05c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public void actionPerformed(ActionEvent e) {
}

private void browseForjar(@NotNull final JTextField target) {
final FileChooserDescriptor descriptor = FileChooserDescriptorFactory.createSingleFileDescriptor();
final FileChooserDescriptor descriptor = new FileChooserDescriptor(false, false, true, true, false, false);

descriptor.setTitle("Select path to plantuml.jar");
String text = target.getText();
final VirtualFile toSelect = text == null || text.isEmpty() ? null
Expand Down

0 comments on commit d1c05c6

Please sign in to comment.