Merge branch 'mig5-updatethread_reload_settings_before_save'

This commit is contained in:
Micah Lee 2018-01-17 16:00:53 -08:00
commit af5d4a77a4

View File

@ -130,6 +130,8 @@ class UpdateChecker(QtCore.QObject):
# Update the last checked timestamp (dropping the seconds and milliseconds)
timestamp = datetime.datetime.now().replace(microsecond=0).replace(second=0).timestamp()
# Re-load the settings first before saving, just in case they've changed since we started our thread
settings.load()
settings.set('autoupdate_timestamp', timestamp)
settings.save()