Skip to content

Commit 254a705

Browse files
committed
Fix non-final variable in local scope in Marker Widget createTextfield
1 parent ac27e49 commit 254a705

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OpenBCI_GUI/W_Marker.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class W_Marker extends Widget {
213213

214214
/* Create textfields for network parameters */
215215
private Textfield createTextfield(String name, String default_text) {
216-
Textfield myTextfield = localCP5.addTextfield(name).align(10, 100, 10, 100) // Alignment
216+
final Textfield myTextfield = localCP5.addTextfield(name).align(10, 100, 10, 100) // Alignment
217217
.setSize(MARKER_RECEIVE_TEXTFIELD_WIDTH, MARKER_RECEIVE_TEXTFIELD_HEIGHT) // Size of textfield
218218
.setFont(f2)
219219
.setFocus(false) // Deselects textfield

0 commit comments

Comments
 (0)