From 3eedb156376a4fed6e5ada8e38ecf534ba9e2108 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 18 Aug 2015 14:23:15 +0200 Subject: [PATCH] Fixed firmware update extention menu --- plugins/USBPrinting/FirmwareUpdateWindow.qml | 2 +- plugins/USBPrinting/USBPrinterManager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/USBPrinting/FirmwareUpdateWindow.qml b/plugins/USBPrinting/FirmwareUpdateWindow.qml index 5217e59aa1..12f4931697 100644 --- a/plugins/USBPrinting/FirmwareUpdateWindow.qml +++ b/plugins/USBPrinting/FirmwareUpdateWindow.qml @@ -22,7 +22,7 @@ UM.Dialog Column { anchors.fill: parent; - + Text { anchors { diff --git a/plugins/USBPrinting/USBPrinterManager.py b/plugins/USBPrinting/USBPrinterManager.py index d59f2af6fa..69992d5a58 100644 --- a/plugins/USBPrinting/USBPrinterManager.py +++ b/plugins/USBPrinting/USBPrinterManager.py @@ -87,7 +87,7 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension): self.spawnFirmwareInterface("") for printer_connection in self._printer_connections: try: - printer_connection.updateFirmware(Resources.getPath(Resources.FirmwareLocation, self._getDefaultFirmwareName())) + self._printer_connections[printer_connection].updateFirmware(Resources.getPath(Resources.FirmwareLocation, self._getDefaultFirmwareName())) except FileNotFoundError: continue