(SWriter): Automatically parse file name when saving an activity
What does this MR do?
Automatically add extension to filename when writing.
- Extension is added automatically if no extension is provided in filename
- if an extension is provided in filename it will overwrite extension selected in dialog, a error pop if extension is unknown.
How to test it?
- Save a file using json, jsonz, xml, xmlz format OR
- Save an activity using apz format.
Try with and without extension, test that everything is allright.
Additional tests to run
-
Test on Windows -
Test on Linux -
Test on MacOS
Associated Issues/Merge Requests
Closes #355 (closed)