mirror of
https://github.com/lutris/lutris
synced 2024-10-06 07:50:16 +00:00
Fix cancel on hatari select bios file
This commit is contained in:
parent
2ce8e4f60f
commit
e1b0128dd3
|
@ -119,6 +119,8 @@ class hatari(Runner):
|
|||
if dlg.result == dlg.YES:
|
||||
bios_dlg = FileDialog("Select a BIOS file")
|
||||
bios_filename = bios_dlg.filename
|
||||
if not bios_filename:
|
||||
return
|
||||
shutil.copy(bios_filename, bios_path)
|
||||
bios_path = os.path.join(bios_path, os.path.basename(bios_filename))
|
||||
config = LutrisConfig(runner_slug='hatari')
|
||||
|
|
Loading…
Reference in a new issue