Menu

#54 maybeSave() doesn't "cancel" properly

v_0.6.0
closed
Interface (150)
8
2012-09-12
2007-10-04
No

This may be a Mac-only bug, I don't know.

When closing a window, maybeSave() is called to allow the user to save the changes, discard the changes, or cancel (i.e., stop closing the window and do nothing).

The "cancel" option doesn't work -- it creates an empty window.

The Qt Quarterly gives an example of how this can work:
http://doc.trolltech.com/qq/qq18-macfeatures.html

Discussion

  • Carsten Niehaus

    Carsten Niehaus - 2007-10-04

    Logged In: YES
    user_id=684210
    Originator: NO

    Actually, here "cancel" does the same as "discard": nothing... Absolutely nothing changes.
    This mean: On my OpenSUSE I have two options: Either save the file to disk or kill Avogadro...

     
  • Geoff Hutchison

    Geoff Hutchison - 2007-12-07

    Logged In: YES
    user_id=21420
    Originator: YES

    This is fixed in SVN, although I can't find what revision number. I'm currently at 929 -- it was fixed a few weeks ago.

    I'm marking this closed.