KyleKorndoerfer / BracketsUML

A Brackets extension that allows you to create PlantUML diagrams from within the editor
MIT License
14 stars 3 forks source link

removeMenuItem() throws an error when menu hasn't been added yet #10

Closed KyleKorndoerfer closed 9 years ago

KyleKorndoerfer commented 9 years ago

This occurs during application startup.

KyleKorndoerfer commented 9 years ago

This is actually caused when changing active editors because there isn't a logic check to see if the menu item exists before attempting to remove it.