mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Merge pull request #1903 from SuperSandro2000/fix-crash
Fix crash with presumable newest PySide6
This commit is contained in:
commit
8a10b8be6f
@ -314,6 +314,6 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||||||
# Wait 1 second for threads to close gracefully, so tests finally pass
|
# Wait 1 second for threads to close gracefully, so tests finally pass
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
def resizeEvent(self, event):
|
def resizeEvent(self, event: QtGui.QResizeEvent):
|
||||||
self.window_resized.emit()
|
self.window_resized.emit()
|
||||||
return super(MainWindow, self).resizeEvent(event)
|
return super(MainWindow, self).resizeEvent(event)
|
||||||
|
Loading…
Reference in New Issue
Block a user