STAR-322: Testing cloud printing

This commit is contained in:
Daniel Schiavini 2018-12-10 16:11:43 +01:00
parent d482924ea2
commit bfd236dae4
9 changed files with 129 additions and 37 deletions

View file

@ -217,7 +217,7 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
printer.updateOutputModel(model)
# Always have an active printer
if not self._active_printer:
if self._printers and not self._active_printer:
self.setActivePrinter(self._printers[0])
self.printersChanged.emit() # TODO: Make this more efficient by not updating every request