Adding data_change to use to signal to Screenful that save button nedds a litle star
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user