def autoAddWFSChanged(self, state): option = (state == QtCore.Qt.Checked) PluginSettings.set_auto_add_wfs_option(option)