add null check

This commit is contained in:
OMGeeky
2025-06-24 19:50:35 +02:00
parent 8f5452b487
commit 6c296868c0

View File

@@ -350,6 +350,11 @@ public class CommonEditor {
if (conditionBox != null) {
editor.removeElementListener(conditionBox);
}
if (condition == null) {
pane.revalidate();
pane.repaint();
return;
}
boolean writable = editor.target.writable;
Project proj = editor.target.getProject();