mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 11:55:40 +02:00
Bug fix: discovery page does not save data after OK.
This commit is contained in:
parent
9e48f24aae
commit
6966e61702
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ import org.eclipse.cdt.core.settings.model.ICConfigurationDescription;
|
|||
import org.eclipse.cdt.core.settings.model.ICResourceDescription;
|
||||
import org.eclipse.cdt.managedbuilder.core.ManagedBuildManager;
|
||||
import org.eclipse.cdt.ui.newui.AbstractPrefPage;
|
||||
import org.eclipse.cdt.ui.newui.ICPropertyTab;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
|
||||
public class PrefPage_NewCDTProject extends AbstractPrefPage {
|
||||
|
@ -30,6 +31,7 @@ public class PrefPage_NewCDTProject extends AbstractPrefPage {
|
|||
}
|
||||
|
||||
public boolean performOk() {
|
||||
forEach(ICPropertyTab.OK, null);
|
||||
try {
|
||||
CCorePlugin.getDefault().setPreferenceConfiguration(ManagedBuildManager.CFG_DATA_PROVIDER_ID, prefCfgd);
|
||||
} catch (CoreException e) { return false; }
|
||||
|
|
Loading…
Add table
Reference in a new issue