[PyQt] QFileDialog.getSaveFileName returns a tuple, but should return a string
max.grady at gmail.com
Tue Aug 1 16:40:06 BST 2017
I believe this is the expected behavior for PyQt5 compared to PyQt4.
On Aug 1, 2017 11:30 AM, "Webster, Jeremy David" <jwebster at lanl.gov> wrote:
> A minor inconvenience I think, but the documentation for
> QFileDialog.getSaveFileName shows it should return the filename as a
> string, but it returns a tuple that consists of the filename string and the
> other related methods...
> getOpenFileName has the same, "incorrect" behavior
> getExistingDirectory behaves correctly
> PyQt mailing list PyQt at riverbankcomputing.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt