chiark / gitweb /
Merge branch 'master' into SteamEngine
[cura.git] / Cura / gui / sliceProgressPanel.py
index 9b4eb7554257d255ac760dc046acd171abb1d2f7..c53371fe612a9f246768ccd2ba365da38c2fd546 100644 (file)
@@ -43,7 +43,7 @@ class sliceProgressPanel(wx.Panel):
                self.totalDoneFactor = 0.0
                self.startTime = time.time()
                if profile.getPreference('save_profile') == 'True':
-                       profile.saveGlobalProfile(self.filelist[0][: self.filelist[0].rfind('.')] + "_profile.ini")
+                       profile.saveProfile(self.filelist[0][: self.filelist[0].rfind('.')] + "_profile.ini")
                center = profile.getMachineCenterCoords() + profile.getObjectMatrix()
                cmdList = [sliceRun.getSliceCommand(sliceRun.getExportFilename(self.filelist[0]), ['|'.join(self.filelist)], [center])]
                self.thread = WorkerThread(self, filelist, cmdList)