A work around for the SettingsDialog menu being null
This commit is contained in:
Konloch 2021-07-22 22:10:53 -07:00
parent 6d3a383c96
commit 08e129b470

View file

@ -90,6 +90,9 @@ public class SettingsDialog extends JScrollPane
@Override @Override
public String getName() public String getName()
{ {
if(menu == null)
return "ERROR: Dialog missing menu";
return menu.getText(); return menu.getText();
} }
} }