Fixed a crash when opening the Lexicon Index.

This commit is contained in:
Lizbeth Rika committed 2015-07-25 22:55:53 +01:00
1 parent c7e96dda54
commit 1cb8b187a4
1 file changed
+1 -1
@@ -366,6 +366,6 @@ public class GuiLexiconIndex extends GuiLexicon implements IParented {
@Override
public String getNotesKey() {
return "category_" + category.unlocalizedName;
return "category_" + category == null ? "lexindex" : category.unlocalizedName;
}
}