goto action: update actions to show, not to perform immediately (EA-88206 - assert: PsiDocumentManagerBase.commitAllDocuments)

This commit is contained in:
peter
2016-09-12 16:30:24 +02:00
parent 5acbb515c2
commit ed650f151d
@@ -259,7 +259,6 @@ public class GotoActionModel implements ChooseByNameModel, Comparator<Object>, E
public static AnActionEvent updateActionBeforeShow(@NotNull AnAction anAction, @NotNull DataContext dataContext) {
AnActionEvent event = AnActionEvent.createFromDataContext(ActionPlaces.ACTION_SEARCH, null, dataContext);
ActionUtil.performDumbAwareUpdate(anAction, event, false);
ActionUtil.performDumbAwareUpdate(anAction, event, true);
return event;
}