font.close(ignoreChanges=False) does not have any effect at all. Am I misunderstanding how this is to be used? What I would expect (and what I want) is exactly the same behaviour as clicking the red dot on the window.
When I ran that line, I get a “Do you want to save the changes made to the document …” dialog.
How did you open the font? By script or manually.
Just tried this again:
- If the font has changes then I see the dialog. That’s correct.
- If there are no changes then nothing happens although the expected behaviour would be that the font is closed without dialog.
That’s in Glyphs 3534, fwiw.
Thanks for bringing that up. I fixed it.
1 Like