mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-126673 - NPE: SearchPopup.show
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user