pqFileChooserWidget directory mode drops the last directory
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I am attempting to use pqFileChooserWidget to select a path for storing temp files in my properties panel, and I am having trouble.
I am using it as follows:
create a custom property panel widget using a pqFileChooserWidget as the ui. Set setUseDirectoryMode(true)
When selecting a path, the following odd behavior occurs:
- Select the path the I want
- click OK
- in the dialog, the path ONE STEP BELOW the selected path is displayed.
For example: if I select /tmp, the ui will show that / is selected. If I select /tmp/sc01a, the ui shows /tmp as selected.
Could someone provide some information on why this may be occurring?