Editing entry labels

This commit is contained in:
2019-11-18 20:57:33 +01:00
parent 4bdb3bfc7f
commit 06ab8f2230
5 changed files with 24 additions and 7 deletions

View File

@@ -102,3 +102,10 @@ class ShowAddTranslation(ClickMessage):
return
console.log("Should not be here!")
class ShowEntryLabelsEdit(ClickMessage):
def update_model(self, model):
model.modal_shown = True
model.entry.make_copy()
model.modal = lambda: modals.edit_entry_labels(model.entry)