Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MortenMacFly on November 15, 2006, 09:52:04 pm

Title: [BUG]: Targets get duplicated on new project
Post by: MortenMacFly on November 15, 2006, 09:52:04 pm
Steps to reproduce:
- create a new C project (using the wizard)
(don't close this project)
- create another new C project (using again the wizard and the *very same* project name)
- answer all questions concerning "overwrite stuff..." with "Yes".
- there should now still be only one project in the workspace
- look at the project's targets - they are duplicated.

--> seems they are not cleared if I create another project with the same name of an existing (opened) project... I searched for the root of this but this seems to be quite complicated... Yiannis?

With regards, Morten.
Title: Re: [BUG]: Targets get duplicated on new project
Post by: mandrav on November 15, 2006, 10:04:33 pm
That's because ProjectManager::New(filename) will open the existing project file, iirc...