def OnEdit(self, event): setting = self._get_setting() self._show_import_editor_dialog( EditorDialog(setting), lambda v, c: setting.execute(SetValues(v, c)), setting, on_empty=self._delete_selected)
def _set_value(self, value_list, comment): self._controller.execute(SetValues(value_list, comment))