Browse Source

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
fieldOfView 9 years ago
parent
commit
27062d8e99
1 changed files with 0 additions and 1 deletions
  1. 0 1
      plugins/LegacyProfileReader/LegacyProfileReader.py

+ 0 - 1
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: