Refactored show menu so that it will be able to accept sense
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user