MicroPython eric7

Tue, 14 Mar 2023 16:57:13 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 14 Mar 2023 16:57:13 +0100
branch
eric7
changeset 9895
61b6e99648b5
parent 9894
8f0da84f216f
child 9896
bef51a4fc5c5

MicroPython
- fixed an issue causing a traceback when the user cancelled the package installation dialog

src/eric7/MicroPython/MicroPythonWidget.py file | annotate | diff | comparison | revisions
--- a/src/eric7/MicroPython/MicroPythonWidget.py	Tue Mar 14 16:52:16 2023 +0100
+++ b/src/eric7/MicroPython/MicroPythonWidget.py	Tue Mar 14 16:57:13 2023 +0100
@@ -2124,6 +2124,8 @@
                 package, version, mpy = dlg.getData()
                 with EricOverrideCursor():
                     out, err = self.__device.mipInstall(package, version, mpy)
+            else:
+                return
         elif method == "upip":
             title = self.tr("Install Packages")
             packagesStr, ok = QInputDialog.getText(

eric ide

mercurial