mirror of
https://github.com/OMGeeky/ATCS.git
synced 2025-12-26 15:57:22 +01:00
add null check
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user