mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-27408 - NPE: ConsoleViewImpl$19.setSelected
This commit is contained in:
@@ -1586,7 +1586,7 @@ public class ConsoleViewImpl extends JPanel implements ConsoleView, ObservableCo
|
||||
super.setSelected(e, state);
|
||||
|
||||
final String placeholder = myCommandLineFolding.getPlaceholder(0);
|
||||
if (state && placeholder == null) {
|
||||
if (myEditor == null || (state && placeholder == null)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user