mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2025-04-02 10:51:53 -04:00
Merge pull request #76 from water-works/alexgolec-fix-decode-null-input-tooltip
Handle null tooltips in the input plugin view
This commit is contained in:
commit
0efcbd72d6
1 changed files with 4 additions and 1 deletions
|
@ -215,7 +215,10 @@ class Input(QDialog, Ui_InputDialog):
|
|||
def set_opts(self):
|
||||
for key, val in self.opts.items():
|
||||
param, tooltip, widget, ptype = val
|
||||
tooltip = tooltip.decode()
|
||||
if tooltip:
|
||||
tooltip = tooltip.decode()
|
||||
else:
|
||||
tooltip = ""
|
||||
if ptype == M64TYPE_BOOL:
|
||||
if param:
|
||||
widget.setChecked(param)
|
||||
|
|
Loading…
Add table
Reference in a new issue