bug when changing showexampleedit, fixed.

This commit is contained in:
Ozbolt Menegatti 2020-01-25 12:22:56 +01:00
parent 20ffe570f4
commit 1e90c666a0

View File

@ -38,7 +38,7 @@ class ShowRelatedEntriesEdit(ClickMessage):
class ShowExampleEdit(ClickMessage):
def update_model_default(self, model):
def update_model(self, model):
example = self.get_arg(0, Example)
example.make_copy()
model.modal_set(lambda: modals.edit_example(example))