Find In Path: stop continuously self-restarting search

This commit is contained in:
Vassiliy.Kudryashov
2018-02-21 02:53:32 +03:00
parent f454e6e6ae
commit 6ca2e4122f
@@ -1175,7 +1175,7 @@ public class FindPopupPanel extends JBPanel implements FindUI {
@Override
public void onCanceled(@NotNull ProgressIndicator indicator) {
if (isShowing() && progressIndicatorWhenSearchStarted == myResultsPreviewSearchProgress) {
scheduleResultsUpdate();
onStop(System.identityHashCode(myResultsPreviewSearchProgress));
}
}
});