Skip to content

Conversation

dkimitsa
Copy link
Contributor

Root case: wrong params were used: choseFiles=true, choseDir=false
Descriptor is defined as bellow:

  /**
   * Use {@link FileChooserDescriptorFactory} for most used descriptors.
   *
   * @param chooseFiles       controls whether files can be chosen
   * @param chooseFolders     controls whether folders can be chosen
   * @param chooseJars        controls whether .jar files can be chosen
   * @param chooseJarsAsFiles controls whether .jar files will be returned as files or as folders
   * @param chooseJarContents controls whether .jar file contents can be chosen
   * @param chooseMultiple    controls whether multiple files can be chosen
   */
  public FileChooserDescriptor(boolean chooseFiles,
                               boolean chooseFolders,
                               boolean chooseJars,
                               boolean chooseJarsAsFiles,
                               boolean chooseJarContents,
                               boolean chooseMultiple) 

Root case: wrong params were used: choseFiles=true, choseDir=false
@Tom-Ski Tom-Ski merged commit 1f7f9f9 into MobiVM:master Jun 10, 2022
@dkimitsa dkimitsa deleted the idea/fix/dialog-picker branch June 12, 2022 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants