Added upgradeFirmware as machineAction

CURA-1385
This commit is contained in:
Jaime van Kessel 2016-06-21 17:00:26 +02:00
parent fb1313ceda
commit 6f6d70ad0f
4 changed files with 94 additions and 4 deletions

View file

@ -2,6 +2,7 @@
# Cura is released under the terms of the AGPLv3 or higher.
from . import BedLevelMachineAction
from . import UpgradeFirmwareMachineAction
from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura")
@ -18,4 +19,4 @@ def getMetaData():
}
def register(app):
return { "machine_action": BedLevelMachineAction.BedLevelMachineAction() }
return { "machine_action": BedLevelMachineAction.BedLevelMachineAction(), "machine_action": UpgradeFirmwareMachineAction.UpgradeFirmwareMachineAction() }