diff --git a/megameklab/src/megameklab/printing/PrintRecordSheet.java b/megameklab/src/megameklab/printing/PrintRecordSheet.java index c3d45c8c6..1e3e270c4 100644 --- a/megameklab/src/megameklab/printing/PrintRecordSheet.java +++ b/megameklab/src/megameklab/printing/PrintRecordSheet.java @@ -268,8 +268,9 @@ private void shadeTableRows() { private void makeFrameless() { for (Element e : getElementsByClass(FRAME)) { - hideElement(e.getAttributes().getNamedItem("id").getNodeValue(), options.isFrameless()); if (options.isFrameless()) { + hideElement(e.getAttributes().getNamedItem("id").getNodeValue()); + // I have no idea with this loop is necessary // Hiding a parent should hide its children // But without it pilot data sneaks onto the sheet @@ -281,7 +282,7 @@ private void makeFrameless() { if (child.getId() == null) { child.setId(UUID.randomUUID().toString()); } - hideElement(child.getId(), true); + hideElement(child.getId()); } } }