diff --git a/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java b/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java index 71b2e47a6a..7db404e52b 100644 --- a/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java +++ b/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java @@ -239,8 +239,12 @@ public class ReportEnginePane extends BasicBeanPane { radioButtons.get(1).setSelected(ob.getEngineState() == LayerReportAttr.LINE_ENGINE); if (ob.getEngineState() == LayerReportAttr.ENGINE_X){ engineSettingPane.moveToFront(outEngineXSettingPane); + outEngineXSettingPane.setVisible(true); + outLineEngineSettingPane.setVisible(false); }else { engineSettingPane.moveToFront(outLineEngineSettingPane); + outEngineXSettingPane.setVisible(false); + outLineEngineSettingPane.setVisible(true); } countPerPageEditor.setValue(new Integer(ob.getCountPerPage())); if (ob.isPageQuery()) {