christofsteel / pySpellbook

A PDF spellbook creation utility for d20 like games in python
https://christofsteel.github.io/pySpellbook
Apache License 2.0
4 stars 0 forks source link

Append file type #21

Closed christofsteel closed 9 years ago

christofsteel commented 9 years ago

Append filetype if not present

christofsteel commented 9 years ago

Problem is: QT does not warn you, if you would overwrite a file AFTER appending ".book"

christofsteel commented 9 years ago

Fixed it anyway. If one does NOT use the native file dialogs, one can use defaultSuffix. Unfortunately it the qt dialogs are not native and look a bit ugly....

But since the behaviour is the intended behaviour it is fixed