Closing a database then cancelling leaves database partially closed

Issue #706 resolved
Jim Rea repo owner created an issue

In DatabaseDocument.m, the canCloseDocumentWithDelegate: method is not calling the shouldCloseSelector callback as it should. I think this code:

    [self defocusWindows];
    [documentDatabase closeDatabase];

needs to go in the callback.

To test this, go to System Preferences:General and check the Ask to keep changes when closing documents option.

Comments (1)

  1. Jim Rea reporter

    Closing a database then cancelling when asked if you really want to close now works properly, it no longer leaves the database in a partially closed state. Fixes issue #706.

    → <<cset 34d6e4162935>>

  2. Log in to comment