1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

selectedBuilder must not be null

This commit is contained in:
Reinhard Pointner 2016-10-20 10:30:15 +08:00
parent 43572de117
commit d41dd97655

View File

@ -143,6 +143,9 @@ public class MainFrame extends JFrame {
} }
private void showPanel(PanelBuilder selectedBuilder) { private void showPanel(PanelBuilder selectedBuilder) {
if (selectedBuilder == null)
return;
JComponent contentPane = (JComponent) getContentPane(); JComponent contentPane = (JComponent) getContentPane();
JComponent selectedPanel = null; JComponent selectedPanel = null;