Commit f6690070 authored by Roman Alifanov's avatar Roman Alifanov

`set` callback now does not trigger the apply setting

parent 19bc0ca0
......@@ -51,10 +51,16 @@ class CustomSection(BaseSection):
setting = self.settings_dict[target]
if action == 'set':
setting.create_row = value
setting._update_widget()
elif action == 'set_apply':
setting.set_value(value)
elif action == 'visible':
if setting.row:
setting.row.set_visible(value.lower() == 'true')
elif action == 'enabled':
if setting.row:
setting.row.set_sensitive(value.lower() == 'true')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment