fixed a null pointer exception

This commit is contained in:
hneemann 2019-10-20 09:47:56 +02:00
parent ce301ddbec
commit 195ff84f5f

View File

@ -27,6 +27,7 @@ public class MoveFocusTo implements WindowFocusListener {
@Override
public void windowGainedFocus(WindowEvent windowEvent) {
if (parent != null)
SwingUtilities.invokeLater(parent::requestFocus);
}