Project: appceleratorstudio
Issue TISTUD-1835: Incorrect items appear under Publish menu the first time right-clicking on a project
Steps to reproduce: 1. Open Studio on a workspace with existing projects; 2. right-click on a Titanium mobile project (other types of project shows the behavior too) and select Publish to generate its submenus. Expected result: only the menu items appropriate for the project type will appear. Actual result: the submenus are not filtered, and all items contributed to the Publish menu show up. This only happens the first time the publish menu is generated. The correct menu items will appear when right-clicking again, even without a change in selection.
Story points: 8