manuskript/manuskript
Curtis Gedak f4c8108b28 Do not prompt "Save project?" when _Save on quit_ setting enabled
See PR #615

The Travis CI tests began failing after merging Pull Request #583.

Log snippet:

----------------------------------------------------------------------
...
Ref not implemented
PASSED
manuskript/tests/ui/test_welcome.py::test_autoLoad QXcbConnection: XCB error: 8 (BadMatch), sequence: 613, resource id: 2097162, major code: 42 (SetInputFocus), minor code: 0
QXcbConnection: XCB error: 8 (BadMatch), sequence: 619, resource id: 2097168, major code: 42 (SetInputFocus), minor code: 0
QXcbConnection: XCB error: 8 (BadMatch), sequence: 625, resource id: 2097171, major code: 42 (SetInputFocus), minor code: 0
----------------------------------------------------------------------

When running "pytest -vs" locally, which is a command used in our
.travis.yml file, a dialog to "Save project?" is displayed.  Because
the test scripts use the "saveOnQuit" default setting of *enabled*,
the "Save project?" dialog should not be displayed.

In other words when a call is made to close the project, a "Save
project?" dialog is incorrectly displayed because the dirtyProject
flag is set, but so too is saveOnQuit set to True.  What should happen
is an automatic save with no prompt.  This PR fixes this logic so that
the Travis CI test suite completes successfully.
2019-08-22 15:18:18 -06:00
..
converters Fix typos in code comments, invisible to end-users. 2018-01-29 10:30:41 -07:00
exporter Spelling: Manuscript, could not, process, … No content (#588) 2019-06-06 11:55:24 -06:00
functions Fix crash when setting word Goal on new Text (scene) in Outline pane 2019-07-31 10:46:06 -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 Fix crash when setting word Goal on new Text (scene) in Outline pane 2019-07-31 10:46:06 -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 Add support for IPython Jupyter QT Console as a debugging aid 2019-03-29 10:37:53 -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 Add ability to save fullscreen panel settings 2019-04-02 11:42:25 -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