eric6/MicroPython/EspFirmwareSelectionDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8181
72f55caf6258
diff -r 27f636beebad -r 2c730d5fd177 eric6/MicroPython/EspFirmwareSelectionDialog.py
--- a/eric6/MicroPython/EspFirmwareSelectionDialog.py	Mon Mar 01 17:48:43 2021 +0100
+++ b/eric6/MicroPython/EspFirmwareSelectionDialog.py	Tue Mar 02 17:17:09 2021 +0100
@@ -76,7 +76,8 @@
                   bool(firmwareFile) and os.path.exists(firmwareFile))
         if self.__addon:
             enable &= bool(self.addressEdit.text())
-        self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enable)
+        self.buttonBox.button(
+            QDialogButtonBox.StandardButton.Ok).setEnabled(enable)
     
     @pyqtSlot(str)
     def on_espComboBox_currentTextChanged(self, chip):

eric ide

mercurial