mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Fix crash with presumable newest PySide6
This commit is contained in:
parent
197fca4696
commit
f20db8fcbd
@ -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