47 @type str |
47 @type str |
48 @param parent reference to the parent object |
48 @param parent reference to the parent object |
49 @type QObject |
49 @type QObject |
50 """ |
50 """ |
51 super().__init__(microPythonWidget, deviceType, parent) |
51 super().__init__(microPythonWidget, deviceType, parent) |
|
52 |
|
53 self.submitMode = "paste" # use 'paste' mode to avoid loosing state |
52 |
54 |
53 self.__boardName = boardName |
55 self.__boardName = boardName |
54 self.__workspace = self.__findWorkspace() |
56 self.__workspace = self.__findWorkspace() |
55 |
57 |
56 self.__updater = CircuitPythonUpdaterInterface(self) |
58 self.__updater = CircuitPythonUpdaterInterface(self) |