private void OnDoubleClickCell(int id) { Debug.Log("ON CLICK CELL " + m_TreeView.GetSelection()[0]); MemoryElement tmp = m_TreeModel.Find(id); Debug.Log("ME: " + tmp.name); m_nodeView.CreateNode(tmp.memData, _unpackedCrawl); }
private void OnDoubleClickCell(int id) { if (m_TreeView.GetSelection().Count > 0) { MemoryElement tmp = m_TreeModel.Find(id); m_nodeView.CreateNode(tmp.memData, _unpackedCrawl); } }
protected override void RenameEnded(RenameEndedArgs args) { if (args.acceptedRename) { var element = TreeModel.Find(args.itemID); element.Name = args.newName; Reload(); } }