eric6/MicroPython/MicrobitDevices.py

branch
micropython
changeset 7065
e3d04faced34
parent 7059
a8fad276cbd5
child 7082
ec199ef0cfc6
--- a/eric6/MicroPython/MicrobitDevices.py	Thu Jul 11 19:48:14 2019 +0200
+++ b/eric6/MicroPython/MicrobitDevices.py	Tue Jul 16 20:12:53 2019 +0200
@@ -9,6 +9,8 @@
 
 from __future__ import unicode_literals
 
+from PyQt5.QtCore import pyqtSlot
+
 from .MicroPythonDevices import MicroPythonDevice
 from .MicroPythonReplWidget import HAS_QTCHART
 
@@ -122,3 +124,10 @@
         @type bool
         """
         pass
+    
+    @pyqtSlot()
+    def handleDataFlood(self):
+        """
+        Public slot handling a data floof from the device.
+        """
+        self.microPython.setActionButtons(files=True)

eric ide

mercurial