mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2025-04-02 10:51:53 -04:00
Fixing 'Unhandled Exception' issue when closing input config dialog.
This commit is contained in:
parent
171bf9b795
commit
f1cc572d03
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ class Input(QDialog, Ui_InputDialog):
|
|||
def save_opts(self):
|
||||
devicename = self.device_map.get(self.device)
|
||||
if devicename:
|
||||
self.config.set_parameter("name", devicename.encode())
|
||||
self.config.set_parameter("name", str(devicename).encode())
|
||||
|
||||
for key, val in self.opts.items():
|
||||
param, tooltip, widget, ptype = val
|
||||
|
|
Loading…
Add table
Reference in a new issue