From 27062d8e994e593eb5d538ca775f0a2e3ef3775b Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Tue, 16 Feb 2016 21:50:57 +0100 Subject: [PATCH] Always make sure imported profiles are available for the currently active machine The profile name of an imported legacy profile gets set in ProfilesModel.importProfile() Contributes to CURA-874 --- plugins/LegacyProfileReader/LegacyProfileReader.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/LegacyProfileReader/LegacyProfileReader.py b/plugins/LegacyProfileReader/LegacyProfileReader.py index 6b5a4a3aca..2fe221cd53 100644 --- a/plugins/LegacyProfileReader/LegacyProfileReader.py +++ b/plugins/LegacyProfileReader/LegacyProfileReader.py @@ -65,7 +65,6 @@ class LegacyProfileReader(ProfileReader): def read(self, file_name): Logger.log("i", "Importing legacy profile from file " + file_name + ".") profile = Profile(machine_manager = Application.getInstance().getMachineManager(), read_only = False) #Create an empty profile. - profile.setName("Imported Legacy Profile") parser = configparser.ConfigParser(interpolation = None) try: