From 7939a03114f006b2fb439b2b42a4a08bb0cf1076 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 1 Jul 2016 19:05:19 +0200 Subject: [PATCH] Fix translating current_settings It is not entirely accurate in the translated version, since the new current_settings is not machine-dependent any more. However, without information on the original file name, this is as good as it gets, since that instance profile there only mentions the machine it is dependent on in the file name. Contributes to issue CURA-844. --- plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py b/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py index da58737d60..894e9a8c7a 100644 --- a/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py +++ b/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py @@ -67,7 +67,7 @@ class MachineInstance: config.set("general", "version", "2") # Hard-code version 2, since if this number changes the programmer MUST change this entire function. containers = [ - self._name + "_current_settings", + self._name, self._active_profile_name, self._active_material_name, self._variant_name,