src/eric7/MicroPython/Devices/PyBoardDevices.py

branch
eric7
changeset 9763
52f982c08301
parent 9756
9854647c8c5c
child 9765
6378da868bb0
equal deleted inserted replaced
9762:333374cf3a18 9763:52f982c08301
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.

eric ide

mercurial