Add filter_by_machine parameter to USBPrinting

This was an oversight. When the filter_by_machine feature was added, we didn't think of the USB printing output device. The feature has no meaning here, since USB printing only supports g-code. Just ignore it.
This commit is contained in:
Ghostkeeper 2016-03-10 10:46:18 +01:00
parent e8c99f6b9f
commit 3690eafb72

View file

@ -467,7 +467,7 @@ class PrinterConnection(OutputDevice, QObject, SignalEmitter):
self._bed_temperature = temperature
self.bedTemperatureChanged.emit()
def requestWrite(self, node, file_name = None):
def requestWrite(self, node, file_name = None, filter_by_machine = False):
self.showControlInterface()
def _setEndstopState(self, endstop_key, value):