1130:3e9f0330f833 | 1131:7781e396c903 |
---|---|
27 If parent is None, we set the editor as the parent. | 27 If parent is None, we set the editor as the parent. |
28 """ | 28 """ |
29 if parent is None: | 29 if parent is None: |
30 parent = editor | 30 parent = editor |
31 | 31 |
32 QObject.__init__(self, parent) | 32 super().__init__(parent) |
33 | 33 |
34 self.editor = editor | 34 self.editor = editor |
35 self.enabled = False | 35 self.enabled = False |
36 | 36 |
37 def setEnabled(self, enable): | 37 def setEnabled(self, enable): |