#3 The Quit dialog doesn't save documents when selecting "Save"

v0.4
closed
nobody
None
5
2006-11-06
2006-11-02
Anonymous
No

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?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Sorry, it should be "when selecting 'Ÿes'". The dialog itself asks if you want to save :)

     
  • Martin Strasser

    Martin Strasser - 2006-11-06
    • status: open --> closed
     
  • Martin Strasser

    Martin Strasser - 2006-11-06

    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

     

Log in to post a comment.