From 3777acd4cdce176068377d9a4c4348ec48063fd3 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 14 Jun 2016 11:50:59 +0200 Subject: [PATCH] Changed order of inheritance. Because the python new is stupid, it fails to notice the qObject if it's not defined first --- cura/PrinterOutputDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/PrinterOutputDevice.py b/cura/PrinterOutputDevice.py index 5ed103ca9b..7649106523 100644 --- a/cura/PrinterOutputDevice.py +++ b/cura/PrinterOutputDevice.py @@ -15,7 +15,7 @@ from UM.Signal import signalemitter # # For all other uses it should be used in the same way as a "regular" OutputDevice. @signalemitter -class PrinterOutputDevice(OutputDevice, QObject): +class PrinterOutputDevice(QObject, OutputDevice): def __init__(self, device_id, parent = None): super().__init__(device_id = device_id, parent = parent)