EA-126673 - NPE: SearchPopup.show

This commit is contained in:
Alexander Lobas
2018-10-05 16:57:53 +03:00
parent 06c860f329
commit 8dc093c701
@@ -121,8 +121,10 @@ public class SearchPopup implements CaretListener {
}
private void show() {
list.clearSelection();
myPopup.showInScreenCoordinates(myEditor, getPopupLocation());
if (myPopup != null) {
list.clearSelection();
myPopup.showInScreenCoordinates(myEditor, getPopupLocation());
}
}
public void hide() {