mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
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
This commit is contained in:
parent
ccd937a56f
commit
27062d8e99
1 changed files with 0 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue