You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lexonomy_custom_editor/src/message/simple_messages.py

11 lines
224 B

from message.message import Message
class ListItemClick(Message):
def __init__(self, num):
self.num = num
def update_model(self, model):
print(self.num)
model.names.splice(self.num, 1)