From 5ea797919958a090f2647ab45bb12cc155ebe4d3 Mon Sep 17 00:00:00 2001 From: fr_shine Date: Sat, 16 Jul 2016 23:26:09 +0800 Subject: [PATCH] bug --- .../mainframe/chart/gui/data/NormalChartDataPane.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/designer_chart/src/com/fr/design/mainframe/chart/gui/data/NormalChartDataPane.java b/designer_chart/src/com/fr/design/mainframe/chart/gui/data/NormalChartDataPane.java index 55c645181..56ffb3615 100644 --- a/designer_chart/src/com/fr/design/mainframe/chart/gui/data/NormalChartDataPane.java +++ b/designer_chart/src/com/fr/design/mainframe/chart/gui/data/NormalChartDataPane.java @@ -102,9 +102,13 @@ public class NormalChartDataPane extends DataContentsPane { public void populate(ChartCollection collection) { reportDataPane.refreshContentPane(collection); tableDataPane.refreshContentPane(collection); - - dataPane.populateBean(collection); - this.initAllListeners(); + + if(collection != null && collection.getSelectedChart().getFilterDefinition() == null) { + reportDataPane.populateBean(collection); + tableDataPane.populateBean(collection); + } else { + dataPane.populateBean(collection); + } this.initAllListeners(); this.addAttributeChangeListener(listener); reportDataPane.checkBoxUse();