1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-15 12:15:47 +02:00

Listen for APPLIED instead of DATA_APPLIED to hear about the active config changing. This seemed to break in CDT 6.0.

This commit is contained in:
Ken Ryall 2010-02-11 19:45:09 +00:00
parent 9d94af8a4d
commit 7f290336f3

View file

@ -76,7 +76,7 @@ public class BuildActiveConfigMenuAction extends ChangeBuildConfigActionBase
public void init(IWorkbenchWindow window) {
buildaction = new BuildGroup.CDTBuildAction(window, IncrementalProjectBuilder.INCREMENTAL_BUILD);
ICProjectDescriptionManager mngr = CoreModel.getDefault().getProjectDescriptionManager();
mngr.addCProjectDescriptionListener(this, CProjectDescriptionEvent.DATA_APPLIED);
mngr.addCProjectDescriptionListener(this, CProjectDescriptionEvent.APPLIED);
}
/**