mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:29:01 +08:00
Fixed firmware update extention menu
This commit is contained in:
parent
c95cf5263b
commit
3eedb15637
@ -22,7 +22,7 @@ UM.Dialog
|
||||
Column
|
||||
{
|
||||
anchors.fill: parent;
|
||||
|
||||
|
||||
Text
|
||||
{
|
||||
anchors {
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user