mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 15:27:53 -06:00
Changed order of inheritance.
Because the python new is stupid, it fails to notice the qObject if it's not defined first
This commit is contained in:
parent
18a1239443
commit
3777acd4cd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue