VirtualEnv/VirtualenvConfigurationDialog.py

changeset 6338
104ee21d765d
parent 6337
c6af560e0039
child 6645
ad476851d7e0
equal deleted inserted replaced
6337:c6af560e0039 6338:104ee21d765d
84 """ 84 """
85 Private method to update the enabled status of the OK button. 85 Private method to update the enabled status of the OK button.
86 """ 86 """
87 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( 87 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(
88 (self.__virtualenvFound or self.__pyvenvFound) and 88 (self.__virtualenvFound or self.__pyvenvFound) and
89 bool(self.targetDirectoryPicker.text() and 89 bool(self.targetDirectoryPicker.text()) and
90 bool(self.nameEdit.text())) 90 bool(self.nameEdit.text())
91 ) 91 )
92 92
93 def __updateUi(self): 93 def __updateUi(self):
94 """ 94 """
95 Private method to update the UI depending on the selected 95 Private method to update the UI depending on the selected

eric ide

mercurial