def insert_column(self, index: int, rows: list): if self.protocol is None or not self.is_writeable: return insert_action = InsertColumn(self.protocol, index, rows, self.proto_view) self.undo_stack.push(insert_action)
def insert_column(self, index: int, rows: list): insert_action = InsertColumn(self.protocol, index, rows, self.proto_view) self.undo_stack.push(insert_action)
def insert_column(self, index: int): insert_action = InsertColumn(self.protocol, index) self.undo_stack.push(insert_action)