Only initialise AutoSave after Application finishes its start up

CURA-4895
This commit is contained in:
Lipu Fei 2018-02-01 13:12:23 +01:00 committed by Diego Prado Gesto
parent 30b1e74881
commit c2aa5fc2a2
2 changed files with 24 additions and 2 deletions

View file

@ -106,6 +106,14 @@ if not MYPY:
CuraDebugMode = False
#
# A global signal which is triggered when CuraApplication has finished its start up.
# This is used to initialise some plugins such as AutoSave which should only be started after the application passed
# the start up successfully.
#
applicationStarted = pyqtSignal()
class CuraApplication(QtApplication):
# SettingVersion represents the set of settings available in the machine/extruder definitions.
# You need to make sure that this version number needs to be increased if there is any non-backwards-compatible