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
1 changed files with 3 additions and 0 deletions

View File

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