mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2024-05-12 17:35:17 -04:00
Size game properly even if user doesn't manually resize window
This commit is contained in:
parent
a6d60b83e6
commit
3ffaa22d0c
|
@ -319,7 +319,9 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
|||
self._initialize_attempt += 1
|
||||
if self._initialize_attempt < 10:
|
||||
QTimer.singleShot(1000, self.wait_for_initialize)
|
||||
else: self.worker.toggle_actions()
|
||||
else:
|
||||
self.window_size_triggered((self.width(), self.height()))
|
||||
self.worker.toggle_actions()
|
||||
|
||||
def on_rom_opened(self):
|
||||
if self.vidext:
|
||||
|
|
Loading…
Reference in a new issue