Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
rhbz723084 - fix issue: search result back to editor causes multiple …
…code mirror focus
  • Loading branch information
Patrick Huang committed May 8, 2013
1 parent 04bed92 commit a7d39ae
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -604,11 +604,8 @@ public void execute(TransUnitReplaceInfo info)
// sure it reloads everything for this document.

HistoryToken token = history.getHistoryToken();
if (!contextHolder.getContext().acceptAll())
{
contextHolder.updateContext(null); // this will ensure HistoryEventHandlerService fire InitEditorEvent
token.clearEditorFilterAndSearch();
}
contextHolder.updateContext(null); // this will ensure HistoryEventHandlerService fire InitEditorEvent
token.clearEditorFilterAndSearch();
token.setView(MainView.Editor);
token.setDocumentPath(docPaths.get(info.getDocId()));
token.setTextFlowId(info.getTransUnit().getId().toString());
Expand Down

0 comments on commit a7d39ae

Please sign in to comment.