Skip to content

Commit e0189d1

Browse files
author
jantje
committed
#504 when switching boardfile the protocols was not filled in properly
1 parent ddef407 commit e0189d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/ui/BoardSelectionPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void handleEvent(Event e) {
140140
*/
141141
String CurrentUploadProtocol = BoardSelectionPage.this.mControlUploadProtocol.getText();
142142
BoardSelectionPage.this.mControlUploadProtocol.removeAll();
143-
BoardSelectionPage.this.mControlUploadProtocol.setItems(Programmers.getUploadProtocols(CurrentBoard));
143+
BoardSelectionPage.this.mControlUploadProtocol.setItems(Programmers.getUploadProtocols(boardFile));
144144
BoardSelectionPage.this.mControlUploadProtocol.setText(CurrentUploadProtocol);
145145

146146
if (BoardSelectionPage.this.mControlUploadProtocol.getText().isEmpty()) {

0 commit comments

Comments
 (0)