eric6/CondaInterface/CondaNewEnvironmentDataDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
56 """ 56 """
57 enable = bool(self.nameEdit.text()) and bool(self.condaNameEdit.text()) 57 enable = bool(self.nameEdit.text()) and bool(self.condaNameEdit.text())
58 if self.__requirementsMode: 58 if self.__requirementsMode:
59 enable &= bool(self.requirementsFilePicker.text()) 59 enable &= bool(self.requirementsFilePicker.text())
60 60
61 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enable) 61 self.buttonBox.button(
62 QDialogButtonBox.StandardButton.Ok).setEnabled(enable)
62 63
63 @pyqtSlot(str) 64 @pyqtSlot(str)
64 def on_nameEdit_textChanged(self, txt): 65 def on_nameEdit_textChanged(self, txt):
65 """ 66 """
66 Private slot to handle changes of the logical name. 67 Private slot to handle changes of the logical name.

eric ide

mercurial