bug when changing showexampleedit, fixed.

pull/1/head
Ozbolt Menegatti 4 years ago
parent 20ffe570f4
commit 1e90c666a0

@ -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))

Loading…
Cancel
Save