Skip to content
Snippets Groups Projects
Commit 5fc4887b authored by tcarver's avatar tcarver
Browse files

fix for when there is no default entry

parent 608ea3b1
No related branches found
No related tags found
No related merge requests found
...@@ -160,7 +160,8 @@ public class ValidateViewer extends FileViewer implements EntryGroupChangeListen ...@@ -160,7 +160,8 @@ public class ValidateViewer extends FileViewer implements EntryGroupChangeListen
} }
}); });
if(entryGrp.getDefaultEntry().isReadOnly()) if(entryGrp.getDefaultEntry() != null &&
entryGrp.getDefaultEntry().isReadOnly())
fixButton.setEnabled(false); fixButton.setEnabled(false);
button_panel.add(fixButton); button_panel.add(fixButton);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment