Cura/plugins/AutoSave/__init__.py
Arjen Hiemstra b8cf51349c Add an AutoSave plugin that autosaves preferences, instances and profiles
Currently using a 1 minute timer, so we do not constantly trigger a save
when editing profiles.

Contributes to CURA-511
2016-01-13 23:12:56 +01:00

22 lines
599 B
Python

# Copyright (c) 2016 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from . import AutoSave
from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura")
def getMetaData():
return {
"plugin": {
"name": catalog.i18nc("@label", "Auto Save"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Automatically saves Preferences, Machines and Profiles after changes."),
"api": 2
},
}
def register(app):
return { "extension": AutoSave.AutoSave() }