summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpshi2012-05-09 03:49:18 (EDT)
committer mwu2012-05-09 03:49:18 (EDT)
commit621872845c42595789271e102c630f35c8dddc35 (patch)
tree14aefe0269d10517b5a609bb6c45fb63b574cb55
parent760156f96512ef694eafc5d8f3cbf2c07528661c (diff)
downloadorg.eclipse.birt-621872845c42595789271e102c630f35c8dddc35.zip
org.eclipse.birt-621872845c42595789271e102c630f35c8dddc35.tar.gz
org.eclipse.birt-621872845c42595789271e102c630f35c8dddc35.tar.bz2
fix 49749 No response by clicking on Browse button in New Excel Data
Source profile dialog in Data Source Explorer view.
-rw-r--r--data/org.eclipse.birt.report.data.oda.excel.ui/src/org/eclipse/birt/report/data/oda/excel/ui/wizards/ExcelDataSourcePageHelper.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/data/org.eclipse.birt.report.data.oda.excel.ui/src/org/eclipse/birt/report/data/oda/excel/ui/wizards/ExcelDataSourcePageHelper.java b/data/org.eclipse.birt.report.data.oda.excel.ui/src/org/eclipse/birt/report/data/oda/excel/ui/wizards/ExcelDataSourcePageHelper.java
index 6165129..9fe0dca 100644
--- a/data/org.eclipse.birt.report.data.oda.excel.ui/src/org/eclipse/birt/report/data/oda/excel/ui/wizards/ExcelDataSourcePageHelper.java
+++ b/data/org.eclipse.birt.report.data.oda.excel.ui/src/org/eclipse/birt/report/data/oda/excel/ui/wizards/ExcelDataSourcePageHelper.java
@@ -145,7 +145,14 @@ public class ExcelDataSourcePageHelper {
}
else if ( e.widget instanceof MenuButton )
{
- handleFileSelection( SELECT_RELATIVE_PATH );
+ if ( ri == null)
+ {
+ handleFileSelection( SELECT_ABSOLUTE_PATH );
+ }
+ else
+ {
+ handleFileSelection( SELECT_RELATIVE_PATH );
+ }
}
}
};