Page 1 of 1

Unexpected change of active project

Posted: Fri May 22, 2009 6:55 pm
by marfi
Hi Eran, I've noticed that the CL behaves strange during importing of source code to an existing project. The problem is as follows:
1) I have 2 projects in a workspace - the first one is an active one.
2) I remove all files and virtual folders from the active project and invoke "Import Files From Directory" operation from the project's context menu
3) After this, files from selected directory are imported to the project (they are located in new virtual folder) - it is OK - but the first project loses its active state and the second one project in the workspace becomes active one, so I must manually re-set the first project as the active to build it.

I think, that the first project should stay active all the time...

Regards
Michal

Re: Unexpected change of active project

Posted: Fri May 22, 2009 7:27 pm
by eranif
Indeed, this is a bug which is caused due to the fact that the in order to load the new virtual folders that were just imported into codelite,
I am removing the project and then reloading it from the disk.

When removing an active project, codelite selects the next available project to be the active - and this is why you see that codelite sets another project as an active one.

I will fix this
Eran