Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Workspace fails to load from "Recent Projects" list (+partial Patch)

(1/1)

MortenMacFly:
Dear all,

I have a currently strange problem with the CVS version of C::B: I cannot recall/load workspaces from the "File" -> "Recent projects" menu. In the C::B log the line "Importing [...].workspace" shows up with no status. I've looked through the code and I assume I have located the problem in cbproject.cpp:
When the project is recalled there is the statement: if (ft == ftCodeBlocksProject) (...) else (...). In the else-tree other than C::B projects are opened. If that fails, no error is printed in the log. I've attached a patch that corrects this.
But: I've also tried to change the if(...) statement to include C::B workspace files which unfortunately doesn't work... Why? Could someone try to reproduce this behaviour?

With regards,

Morten.


[attachment deleted by admin]

MortenMacFly:

--- Quote from: MortenMacFly on November 20, 2005, 04:31:56 pm ---I have a currently strange problem with the CVS version of C::B: I cannot recall/load workspaces from the "File" -> "Recent projects" menu. [...]

--- End quote ---
This issue has obvioulsy disappeared with the current CVS-HEAD version... :D
However: I still believe that the patch makes sense anyway for the log message shown to be finished...?!

With best regards,

Morten.

Navigation

[0] Message Index

Go to full version