mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Display a message that there are no connected printers when trying to update firmware
Contributes to CURA-274
This commit is contained in:
parent
37c977cea6
commit
67e00221eb
1 changed files with 4 additions and 0 deletions
|
@ -95,6 +95,10 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension):
|
|||
|
||||
@pyqtSlot()
|
||||
def updateAllFirmware(self):
|
||||
if not self._printer_connections:
|
||||
Message("Cannot update firmware, there were no connected printers found.").show()
|
||||
return
|
||||
|
||||
self.spawnFirmwareInterface("")
|
||||
for printer_connection in self._printer_connections:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue