mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Fix tooltip for checkboxes, *more*
This commit is contained in:
parent
bca25cbb2e
commit
38525a3916
|
@ -45,6 +45,10 @@ class ConfigBox(VBox):
|
|||
placeholder.set_size_request(32, 32)
|
||||
hbox.pack_end(placeholder, False, False, 5)
|
||||
|
||||
# Set tooltip's "Default" part
|
||||
default = option.get('default')
|
||||
self.tooltip_default = default if type(default) is str else None
|
||||
|
||||
# Generate option widget
|
||||
self.option_widget = None
|
||||
self.call_widget_generator(option)
|
||||
|
@ -63,10 +67,6 @@ class ConfigBox(VBox):
|
|||
reset_btn.set_no_show_all(True)
|
||||
placeholder.pack_start(reset_btn, False, False, 0)
|
||||
|
||||
# Set tooltip's "Default" part
|
||||
default = option.get('default')
|
||||
self.tooltip_default = default if type(default) is str else None
|
||||
|
||||
# Tooltip
|
||||
helptext = option.get("help")
|
||||
if type(self.tooltip_default) is str:
|
||||
|
|
Loading…
Reference in a new issue