PyQt5 QFileDialog is not returning correct paths in ubuntu

前端 未结 1 1850
说谎
说谎 2021-01-22 07:40

I\'m using this bit of code to open a file dialog and return the selected file names (PyQt5, Ubuntu)

QtWidgets.QFileDialog         


        
相关标签:
1条回答
  • 2021-01-22 08:06

    @musicamante, thank you for your help. The answer lays with DontUseNativeDialog if I'm running my code with PyCharm. Running it outside PyCharm, that flag isn't required.

    0 讨论(0)
提交回复
热议问题