ikeough/Dynamo — pull request #823 by ke-yu (2013-11-25 03:21:27+00:00)
Title: Fix MAGN-851: Node to Code disabled in the UI

That's because the menu item is enabled or not is controlled by DelegateCommand.CanExecute(). For N2C menu item, it is enabled or not depends on if the selection set is empty or not. But its status should be updated whenever the selection set is changed.