Merge pull request #1903 from SuperSandro2000/fix-crash

Fix crash with presumable newest PySide6
This commit is contained in:
Saptak Sengupta 2024-07-22 15:05:39 +05:30 committed by GitHub
commit 8a10b8be6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -314,6 +314,6 @@ class MainWindow(QtWidgets.QMainWindow):
# Wait 1 second for threads to close gracefully, so tests finally pass
time.sleep(1)
def resizeEvent(self, event):
def resizeEvent(self, event: QtGui.QResizeEvent):
self.window_resized.emit()
return super(MainWindow, self).resizeEvent(event)