mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2025-04-02 10:51:53 -04:00
fix file_path
This commit is contained in:
parent
2c21ef546a
commit
3e23697c43
1 changed files with 2 additions and 2 deletions
|
@ -334,8 +334,8 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
|||
self, self.tr("Load ROM Image"), last_dir,
|
||||
"Nintendo64 ROM (%s);;All files (*)" % EXT_FILTER)
|
||||
if file_path:
|
||||
self.file_open.emit(filepath, None)
|
||||
last_dir = QFileInfo(filepath).path()
|
||||
self.file_open.emit(file_path, None)
|
||||
last_dir = QFileInfo(file_path).path()
|
||||
self.settings.qset.setValue("last_dir", last_dir)
|
||||
|
||||
@pyqtSlot()
|
||||
|
|
Loading…
Add table
Reference in a new issue