mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2025-04-02 10:51:53 -04:00
Fix opening of a rom file when it was provided as argument
This commit is contained in:
parent
8c4bc24424
commit
ea2b81372c
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ class Worker(QThread):
|
|||
self.settings.m64p_handle = self.m64p.get_handle()
|
||||
|
||||
if self.parent.args:
|
||||
self.parent.emit(SIGNAL("file_open(PyQt_PyObject)"),
|
||||
self.parent.args[0])
|
||||
self.parent.emit(SIGNAL("file_open(PyQt_PyObject, PyQt_PyObject)"),
|
||||
self.parent.args[0], None)
|
||||
else:
|
||||
self.parent.emit(SIGNAL("state_changed(PyQt_PyObject)"),
|
||||
(False, False, False, False))
|
||||
|
|
Loading…
Add table
Reference in a new issue