[PyQt] posible PyQt 5.12 bug?

José Antonio Fernández Fernández aullasistemas at gmail.com
Mon Feb 11 07:43:13 GMT 2019


Hi all. I've updated from PyQt 5.11.3 to 5.12, and this simple code
does not run (QFileDialog is not displayed). It can be a bug ?.
regards

from PyQt5.QtWidgets import QFileDialog
parent = QtWidgets.QApplication.activeModalWidget()
base_dir = "/home/foo"
filter = "*.*"
QFileDialog.getSaveFileName(parent,"caption example",base_dir , filter)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190211/8cd6696d/attachment.html>


More information about the PyQt mailing list