Skip to content

Commit 08e129b

Browse files
committed
Fixes #333
A work around for the SettingsDialog menu being null
1 parent 6d3a383 commit 08e129b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/java/the/bytecode/club/bytecodeviewer/gui/components/SettingsDialog.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ private void buildPanel()
9090
@Override
9191
public String getName()
9292
{
93+
if(menu == null)
94+
return "ERROR: Dialog missing menu";
95+
9396
return menu.getText();
9497
}
9598
}

0 commit comments

Comments
 (0)