src/eric7/MicroPython/Devices/GenericMicroPythonDevices.py

branch
eric7
changeset 9763
52f982c08301
parent 9756
9854647c8c5c
child 9906
39daf45010c8
equal deleted inserted replaced
9762:333374cf3a18 9763:52f982c08301
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

eric ide

mercurial