def apply(self, *arg): if not self.changed: return result = self.get() Config.set_and_save('base/fields', result) if self.parent: Utils.warning_dialog_s( self.parent, _("Some changes require to restart Pybliographic\n" "to be correctly taken into account"))
def changed (self): if not self.warning: self.warning = True Utils.warning_dialog_s(self.parent, _("Some changes require to restart Pybliographic\n" "to be correctly taken into account"))