manuskript/manuskript
Jan Wester 9317dc97d8 Do not reinvent QFileDialog's default suffix
According to issue #608 we were silently overwriting files when there
was a suffix being generated for a chosen export filename when one was
missing to begin with. Unfortunately, this helpful feature avoids all
the conveniences offered by QFileDialog in regards to alerting the user
to overwriting an existing file. Worse still, this feature already
exists in QFileDialog and the native APIs it can rely on.

This patch reimplements QFileDialog.getSaveFileName to allow the use of
the default suffix feature as functions.getSaveFileNameWithSuffix and
removes most of the magic involved with the old solution.
2019-09-07 15:59:45 -06:00
..
converters Fix typos in code comments, invisible to end-users. 2018-01-29 10:30:41 -07:00
exporter Do not reinvent QFileDialog's default suffix 2019-09-07 15:59:45 -06:00
functions Do not reinvent QFileDialog's default suffix 2019-09-07 15:59:45 -06:00
importer Fix crash if using a custom pandoc installation 2019-05-20 09:39:45 -06:00
load_save Fixed race when closing an auto-saving project. 2019-08-12 10:35:07 -06:00
models Fix crash if invalid character is inserted into the text. 2019-05-21 09:52:18 -06:00
tests Fix pytest warning about duplicate name when running tests 2018-11-16 12:52:09 -07:00
ui Use native look for the import FileDialog 2019-09-04 14:18:02 -06:00
__init__.py Renaming source folder 2016-02-06 08:38:33 +01:00
enums.py Checkpoint in refactoring outlineItem 2017-11-17 12:16:39 +01:00
loadSave.py Ensure text file open methods use utf-8 encoding 2019-02-27 09:30:16 -07:00
main.py Warn user about buggy libraries 2019-09-04 14:18:02 -06:00
mainWindow.py Do not prompt "Save project?" when _Save on quit_ setting enabled 2019-08-22 15:18:18 -06:00
settings.py Rename setting "Save on quit" to "Save on project close" 2019-08-22 15:18:18 -06:00
settingsWindow.py Add new language translations to the Settings window 2019-07-14 10:11:52 -06:00
version.py ========== manuskript-0.9.0 ========== 2019-04-04 10:34:25 -06:00