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:
parent
9d94af8a4d
commit
7f290336f3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue