55 def setButtons(self): |
55 def setButtons(self): |
56 """ |
56 """ |
57 Public method to enable the supported action buttons. |
57 Public method to enable the supported action buttons. |
58 """ |
58 """ |
59 super().setButtons() |
59 super().setButtons() |
|
60 |
60 self.microPython.setActionButtons( |
61 self.microPython.setActionButtons( |
61 run=True, repl=True, files=True, chart=HAS_QTCHART |
62 run=True, repl=True, files=True, chart=HAS_QTCHART |
62 ) |
63 ) |
63 |
|
64 if self.__deviceVolumeMounted(): |
|
65 self.microPython.setActionButtons(open=True, save=True) |
|
66 |
64 |
67 def forceInterrupt(self): |
65 def forceInterrupt(self): |
68 """ |
66 """ |
69 Public method to determine the need for an interrupt when opening the |
67 Public method to determine the need for an interrupt when opening the |
70 serial connection. |
68 serial connection. |