Skip to content

Commit 17b90c5

Browse files
author
jantje
committed
#528 wrong value was used for the link
1 parent 181b5b2 commit 17b90c5

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

it.baeyens.arduino.core/src/io/sloeber/core/api/CodeDescriptor.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,12 @@ public enum CodeTypes {
3030

3131
private CodeTypes codeType;
3232
private Path myTemPlateFoldername;
33+
private boolean myMakeLinks = false;
3334

3435
public Path getTemPlateFoldername() {
3536
return this.myTemPlateFoldername;
3637
}
3738

38-
public boolean isMyMakeLinks() {
39-
return this.myMakeLinks;
40-
}
41-
42-
private boolean myMakeLinks = false;
4339
private Path mySamples[];
4440

4541
public Path[] getMySamples() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public CodeDescriptor getCodeDescription() {
203203
return CodeDescriptor.createCustomTemplate(new Path(this.mTemplateFolderEditor.getStringValue()));
204204
case sample:
205205
Path sampleFolders[] = this.mExampleEditor.GetSampleFolders();
206-
boolean link = this.mExampleEditor.isSampleSelected();
206+
boolean link = this.mCheckBoxUseCurrentLinkSample.getSelection();
207207
return CodeDescriptor.createSample(link, sampleFolders);
208208
}
209209
// make sure this never happens

0 commit comments

Comments
 (0)