The Quit dialog doesn't save documents when selecting "Save"
Status: Beta
Brought to you by:
cadmaniac
I'm not sure that the application actually saves the
changed documents.
I open a project, add a comment to a file and quit.
The application prompts me with a dialog and I
select 'Save'. Starting kontrollerlab again, opening
the project and I see that no changes has been made.
Do we have a bug?
Logged In: NO
Sorry, it should be "when selecting 'Ÿes'". The dialog itself asks if you want to save :)
Logged In: YES
user_id=902327
Fixed with revision 36. The problem was that the m_documents
list was not copied before iterating over it. Within the
loop, another command iterated over the list and changed the
current item of the list, causing trouble in the outer loop.
The changed file is:
src/klproject.cpp