|
当右上角X关闭窗口时报错(An error occurs when the upper right corner x closes the window): Current thread 0x00001c40 (most recent call first): 尝试重写 QtWidgets.QMainWindow的closeEvent也是一样。 ----code------ class Windows(QtWidgets.QMainWindow, PD.Ui_MainWindow): class AddText(QThread): if name == 'main': |
Replies: 2 comments 1 reply
|
已解决 |
|
已解决