lexonomy_custom_editor/src/message/simple_messages.py

11 lines
224 B
Python
Raw Normal View History

2019-11-05 21:18:20 +00:00
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)