Skip to content

Commit 98e3265

Browse files
committed
performOK added to ToolchainSettings
1 parent 4a07757 commit 98e3265

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

ilg.gnuarmeclipse.managedbuild.cross/src/ilg/gnuarmeclipse/managedbuild/cross/ToolchainSettingsTab.java

+15-6
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,21 @@ protected void performApply(ICResourceDescription src,
428428
ICResourceDescription dst) {
429429

430430
IConfiguration config = getCfg(src.getConfiguration());
431+
432+
updateOptions(config);
433+
// does not work like this
434+
// SpecsProvider.clear();
435+
436+
// System.out.println("performApply()");
437+
438+
}
439+
440+
@Override
441+
protected void performOK() {
442+
updateOptions(m_config);
443+
}
444+
445+
private void updateOptions(IConfiguration config){
431446
IToolChain toolchain = config.getToolChain();
432447

433448
IOption option;
@@ -555,14 +570,8 @@ protected void performApply(ICResourceDescription src,
555570
} catch (BuildException e) {
556571
e.printStackTrace();
557572
}
558-
559-
// does not work like this
560-
// SpecsProvider.clear();
561-
562-
// System.out.println("performApply()");
563573

564574
}
565-
566575
@Override
567576
protected void performDefaults() {
568577

0 commit comments

Comments
 (0)