1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Bug #177768 - check for old Make project

This commit is contained in:
Oleg Krasilnikov 2007-03-20 12:52:12 +00:00
parent 869ab1112b
commit f56c912aeb

View file

@ -82,6 +82,7 @@ IWorkbenchWindowPulldownDelegate2, IObjectActionDelegate, IMenuCreator {
else if (obs[i] instanceof ICProject)
prj = ((ICProject)obs[i]).getProject();
if (prj != null) {
if (!CoreModel.getDefault().isNewStyleProject(prj)) continue;
ICProjectDescription prjd = CoreModel.getDefault().getProjectDescription(prj, false);
if (prjd == null) continue;
ICConfigurationDescription[] cfgds = prjd.getConfigurations();