Refactored show menu so that it will be able to accept sense

This commit is contained in:
2019-11-20 23:24:16 +01:00
parent 1f038e177a
commit bcd8d3ced9
4 changed files with 26 additions and 16 deletions

View File

@@ -14,8 +14,8 @@ class ShowMenu(ClickMessage):
def update_model(self, model):
model.menu_location = self.menu_location
model.menu_shown = True
model.translation = self.get_arg(0, Translation)
model.menu_target = model.translation
class ShowSenseLabelEdit(ClickMessage):