FS#19Drawing recovery in case file saving fails
- Type
- Feature Request
- Status
- Closed
- Resolution
- Won't implement
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- Development
- Operating system
- All
- Reported
- 2011-04-20 by anonymous
- Closed
- 2016-03-30 by andrew
- before save: copy existing file (drawing.dxf) to temporary file, e.g. "drawing.bak"
- save()
- no crash -> remove recovery file
- crash -> file has size of 0 byte now
- restore recovery files on next start
for each file in recent files
if file size == 0
rename temporary file to actual file name
end