summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxwu2012-04-11 04:55:05 (EDT)
committer mwu2012-04-11 04:55:05 (EDT)
commit16e08a8ad52f3588bd2cc4329f2c156cfa419dd6 (patch)
tree527a84abf8229cc84e7176f419e163e97b8d535f
parentf1fe9b84e12cb7582a36e21a489418eb8ed85c90 (diff)
downloadorg.eclipse.birt-16e08a8ad52f3588bd2cc4329f2c156cfa419dd6.zip
org.eclipse.birt-16e08a8ad52f3588bd2cc4329f2c156cfa419dd6.tar.gz
org.eclipse.birt-16e08a8ad52f3588bd2cc4329f2c156cfa419dd6.tar.bz2
Summary:
Fix an issue 43037: The query should not re-executed when leaving the sort hint/setting page. Description of Issue: The query should not re-executed when leaving the sort hint/setting page. Description of Resolution: Modified the logic of ResultSet Preview Page to correctly decide whether the query should be executed again. BUG(s) Resolved: 43037 Regression ( Yes/No ): No Manual Test Description: Manual Test
-rw-r--r--UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetPreviewPage.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetPreviewPage.java b/UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetPreviewPage.java
index fdf2820..b1b16ce 100644
--- a/UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetPreviewPage.java
+++ b/UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetPreviewPage.java
@@ -238,8 +238,7 @@ public class ResultSetPreviewPage extends AbstractPropertyPage
getContainer( ).setMessage( Messages.getString( "dataset.editor.preview" ),//$NON-NLS-1$
IMessageProvider.NONE );
- if ( modelChanged
- || ( (DataSetEditor) this.getContainer( ) ).modelChanged( ) )
+ if ( modelChanged )
{
modelChanged = false;