Skip to content

Commit 51ef6fe

Browse files
committed
Browser templates view should not use SWT.WEBKIT as browser style #1509
Switched to SWT.DEFAULT to activate default browser
1 parent b8ce236 commit 51ef6fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/org.eclipse.pde.ui.templates/templates_3.1/browserView/java/$className$.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class $className$ extends ViewPart implements ISelectionListener {
5454

5555
@Override
5656
public void createPartControl(Composite parent) {
57-
fBrowser = new Browser(parent, SWT.WEBKIT);
57+
fBrowser = new Browser(parent, SWT.DEFAULT);
5858
fBrowser.setText(getContent());
5959
BrowserFunction prefs = new OpenPreferenceFunction(fBrowser, "openEclipsePreferences", () -> {
6060
PreferenceDialog dialog = PreferencesUtil.createPreferenceDialogOn(shell, null, null, null);

0 commit comments

Comments
 (0)