bug when changing showexampleedit, fixed.
This commit is contained in:
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…
Reference in New Issue
Block a user