News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

[BUG]: Targets get duplicated on new project

Started by MortenMacFly, November 15, 2006, 09:52:04 PM

Previous topic - Next topic

MortenMacFly

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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

mandrav

That's because ProjectManager::New(filename) will open the existing project file, iirc...
Be patient!
This bug will be fixed soon...