eric6/MicroPython/MicroPythonFileManagerWidget.py

changeset 8058
9769eb548f0d
parent 7923
91e843545d9a
child 8067
a467ab075be0
diff -r f87f84ffcf3d -r 9769eb548f0d eric6/MicroPython/MicroPythonFileManagerWidget.py
--- a/eric6/MicroPython/MicroPythonFileManagerWidget.py	Tue Feb 02 16:39:47 2021 +0100
+++ b/eric6/MicroPython/MicroPythonFileManagerWidget.py	Tue Feb 02 19:41:04 2021 +0100
@@ -546,8 +546,9 @@
         @param deviceDir name of the device directory
         @type str
         """
-        self.__listLocalFiles(self.localCwd.text())
-        self.__newDeviceList()
+        # simulate button presses to reload the two lists
+        self.on_localReloadButton_clicked()
+        self.on_deviceReloadButton_clicked()
     
     @pyqtSlot(str)
     def __handleRsyncProgressMessage(self, message):

eric ide

mercurial