Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkelsey2010-04-13 05:24:08 -0400
committerdkelsey2010-04-13 05:24:08 -0400
commitc222039b7533a89831d8f0a566619a2ba47442c7 (patch)
tree7effaff283d5f6cf93814ae8ada53ceb46ae38a3
parentd5e75d761d99c87b5cf591b6c25da75c7362840d (diff)
downloadorg.eclipse.pdt-R2_1_Galileo.tar.gz
org.eclipse.pdt-R2_1_Galileo.tar.xz
org.eclipse.pdt-R2_1_Galileo.zip
bugzilla: 308589: loss of internal web browser when launching external web browser.R2_1_Galileo
-rw-r--r--plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/launching/XDebugWebLaunchConfigurationDelegate.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/launching/XDebugWebLaunchConfigurationDelegate.java b/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/launching/XDebugWebLaunchConfigurationDelegate.java
index 6065ef669..2c144c072 100644
--- a/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/launching/XDebugWebLaunchConfigurationDelegate.java
+++ b/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/launching/XDebugWebLaunchConfigurationDelegate.java
@@ -210,7 +210,13 @@ public class XDebugWebLaunchConfigurationDelegate extends LaunchConfigurationDel
* @return true if external browser is required
*/
private boolean openExternal() {
- return (WebBrowserPreference.EXTERNAL == WebBrowserPreference.getBrowserChoice());
+ final int[] choice = new int[1];
+ Display.getDefault().syncExec(new Runnable() {
+ public void run() {
+ choice[0] = WebBrowserPreference.getBrowserChoice();
+ }
+ });
+ return WebBrowserPreference.EXTERNAL == choice[0];
}
/**

Back to the top