diff --git a/source/com/intellij/ide/favoritesTreeView/FavoritesViewImpl.java b/source/com/intellij/ide/favoritesTreeView/FavoritesViewImpl.java index 4cccb1b88f40..3e4993cfa1fa 100644 --- a/source/com/intellij/ide/favoritesTreeView/FavoritesViewImpl.java +++ b/source/com/intellij/ide/favoritesTreeView/FavoritesViewImpl.java @@ -160,6 +160,7 @@ public class FavoritesViewImpl extends ContentManagerImpl implements ProjectComp public void readExternal(Element element) throws InvalidDataException { final DefaultActionGroup favoritesActionsGroup = ((DefaultActionGroup)ActionManager.getInstance().getAction(IdeActions.ADD_TO_FAVORITES)); + favoritesActionsGroup.removeAll(); favoritesActionsGroup.add(new AddToNewFavoritesListAction()); favoritesActionsGroup.addSeparator(); for (Iterator iterator = element.getChildren("favorites_list").iterator(); iterator.hasNext();) {