Monday, 9 September 2013

KFileDialog select multiple directories

KFileDialog select multiple directories

With PyKDE4.kio to select multiple files I can use
KFileDialog.getOpenFileNames (instead of KFileDialog.getOpenFileName).
What can I do if I want to select multiple directories? There is only
KFileDialog.getExistingDirectory.
Using KFileDialog.getOpenFileNames(filter = 'inode/directory') and select
multiple folders shows an error:
More than one folder has been selected and this dialog does not accept
folders, so it is not possible to decide which one to enter. Please select
only one folder to list it.

No comments:

Post a Comment