Steps to reproduce:
- Create new document.
- Create a sketch. Settings are irrelevant, just choose any plane and select OK. Close the sketch again.
- Optional step to illustrate: Select File --> Close. This brings up the following dialog: Choose "Cancel".
- Right-click on the unnamed document and choose "Close document" from the context menu:
- Result: The document is closed immediately without prior warning or a prompt to save the changes.
OS: macOS 10.15
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22846 (Git)
Build type: Release
Branch: master
Hash: 1f46b72491a0008384a6db4f2615a656249f6f08
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)