Author Topic: [BUG]: Targets get duplicated on new project  (Read 3290 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
[BUG]: Targets get duplicated on new project
« 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: [BUG]: Targets get duplicated on new project
« Reply #1 on: November 15, 2006, 10:04:33 pm »
That's because ProjectManager::New(filename) will open the existing project file, iirc...
Be patient!
This bug will be fixed soon...