Adding data_change to use to signal to Screenful that save button nedds a litle star

This commit is contained in:
2019-11-20 22:25:31 +01:00
parent 9f16aa999b
commit 1f038e177a
6 changed files with 49 additions and 5 deletions

View File

@@ -21,6 +21,9 @@ class AddToGenericList(NoReset):
def update_model(self, model):
list_getter = self.get_arg(0)
list_getter().append("")
def data_change(self):
return False
class AddToLabelList(NoReset):
@@ -31,6 +34,9 @@ class AddToLabelList(NoReset):
# just adding to the copy to show in the modal
list_to_add_to.append(thing_to_add)
def data_change(self):
return False
class EditExampleTranslation(Message):