Fixed #1904 NullPointerException on ErrorLog frame

This commit is contained in:
Jindra Petřík
2022-12-20 09:51:46 +01:00
parent f0b1020b2f
commit 47cd0c83ff
2 changed files with 6 additions and 3 deletions

View File

@@ -314,7 +314,9 @@ public class ErrorLogFrame extends AppFrame {
scrollPane.setVisible(false);
}
pan.setAlignmentX(0f);
logViewInner.add(pan);
if (logViewInner != null) { //may be disposed or what? #1904
logViewInner.add(pan);
}
revalidate();
repaint();
});