57 def setButtons(self): |
57 def setButtons(self): |
58 """ |
58 """ |
59 Public method to enable the supported action buttons. |
59 Public method to enable the supported action buttons. |
60 """ |
60 """ |
61 super().setButtons() |
61 super().setButtons() |
|
62 |
62 self.microPython.setActionButtons( |
63 self.microPython.setActionButtons( |
63 run=True, repl=True, files=True, chart=HAS_QTCHART |
64 run=True, repl=True, files=True, chart=HAS_QTCHART |
64 ) |
65 ) |
65 |
|
66 if self.__directAccess and self.__deviceVolumeMounted(): |
|
67 self.microPython.setActionButtons(open=True, save=True) |
|
68 |
66 |
69 def deviceName(self): |
67 def deviceName(self): |
70 """ |
68 """ |
71 Public method to get the name of the device. |
69 Public method to get the name of the device. |
72 |
70 |