mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 08:25:12 +08: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
@ -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.
|
# For all other uses it should be used in the same way as a "regular" OutputDevice.
|
||||||
@signalemitter
|
@signalemitter
|
||||||
class PrinterOutputDevice(OutputDevice, QObject):
|
class PrinterOutputDevice(QObject, OutputDevice):
|
||||||
def __init__(self, device_id, parent = None):
|
def __init__(self, device_id, parent = None):
|
||||||
super().__init__(device_id = device_id, parent = parent)
|
super().__init__(device_id = device_id, parent = parent)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user