Changing how senses are added and how buttons are shown.

This commit is contained in:
2019-11-20 18:58:48 +01:00
parent 06ab8f2230
commit 1039a686cc
7 changed files with 62 additions and 63 deletions

View File

@@ -34,12 +34,6 @@ class ShowSenseDefinitionEdit(ClickMessage):
model.modal = lambda: modals.edit_sense_definition(model.sense)
class ShowSenseAdd(ClickMessage):
def update_model(self, model):
model.modal_shown = True
model.modal = lambda: modals.add_sense()
class ShowCommentEdit(ClickMessage):
def update_model(self, model):
model.modal_shown = True