[PyQt] QFileDialog.selectFile highlights wrong files

Luca Fasano lucafasano at interfree.it
Thu Jan 7 17:43:47 GMT 2010


Luca Fasano <lucafasano <at> interfree.it> writes:

> 
> Hi all,
> I'm performing some tests using "selectFile" method of QFileDialog. 
> 
> I noticed that the dialog shown is positioned in right folder and the
> file name in "File name" field is correct too, but in many cases the
> file highlighted is not the same of the one in "File name" field. 
> So if I press the "Open" button without doing nothing, then
> "selectedFiles" returns a wrong file name, i.e. that one highlighted,
> which is different from the file in "File name" field.

 
How can I do? Is it a known behaviour or bug or I missed something?
 


I forgot: I'm using Debian with PyQt 4.6.1 and Qt 4.5.3





More information about the PyQt mailing list