This commit is contained in:
fieldOfView 2016-07-18 09:41:50 +02:00
commit 935481e05f
9 changed files with 125 additions and 76 deletions

View file

@ -126,6 +126,9 @@ class MachineManager(QObject):
self._auto_change_material_hotend_flood_time = time.time()
self._auto_change_material_hotend_flood_last_choice = button
if button == QMessageBox.No:
return
Logger.log("d", "Setting hotend variant of hotend %d to %s" % (index, hotend_id))
extruder_manager = ExtruderManager.getInstance()
@ -174,6 +177,9 @@ class MachineManager(QObject):
self._auto_change_material_hotend_flood_time = time.time()
self._auto_change_material_hotend_flood_last_choice = button
if button == QMessageBox.No:
return
Logger.log("d", "Setting material of hotend %d to %s" % (index, material_id))
extruder_manager = ExtruderManager.getInstance()
@ -493,6 +499,7 @@ class MachineManager(QObject):
self.activeQualityChanged.emit()
@pyqtSlot(str)
@pyqtSlot()
def updateQualityContainerFromUserContainer(self, quality_id = None):
if not self._active_container_stack:
return