Skip to content

Commit d274b3f

Browse files
committed
fix "Cannot refer to a non-final variable combo inside an inner class
defined in a different method"
1 parent d0e117d commit d274b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pm.eclipse.editbox/src/pm/eclipse/editbox/pref/EditboxPreferencePage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ protected Control createCategoryControl(Composite parent) {
124124
Label comboLabel = new Label(c, SWT.NONE);
125125
comboLabel.setText("Select one of bundled themes to apply to all categories (you can refine on respective Tab)");
126126

127-
Combo combo = new Combo(c, SWT.DROP_DOWN);
127+
final Combo combo = new Combo(c, SWT.DROP_DOWN);
128128
GridData gd = new GridData(GridData.BEGINNING);
129129
gd.widthHint = 150;
130130
gd.horizontalSpan = 2;

0 commit comments

Comments
 (0)