Skip to content

Commit

Permalink
Browser templates view should not use SWT.WEBKIT as browser style #1509
Browse files Browse the repository at this point in the history
Switched to SWT.DEFAULT to activate default browser
  • Loading branch information
wimjongman committed Dec 10, 2024
1 parent b8ce236 commit d8adc66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class $className$ extends ViewPart implements ISelectionListener {

@Override
public void createPartControl(Composite parent) {
fBrowser = new Browser(parent, SWT.WEBKIT);
fBrowser = new Browser(parent, SWT.DEFAULT);
fBrowser.setText(getContent());
BrowserFunction prefs = new OpenPreferenceFunction(fBrowser, "openEclipsePreferences", () -> {
PreferenceDialog dialog = PreferencesUtil.createPreferenceDialogOn(shell, null, null, null);
Expand Down

0 comments on commit d8adc66

Please sign in to comment.