mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-24 18:22:58 -03:00
Merge pull request #1903 from SuperSandro2000/fix-crash
Fix crash with presumable newest PySide6
This commit is contained in:
commit
8a10b8be6f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue