Sun, 08 Nov 2020 16:00:57 +0100
VirtualenvConfigurationDialog: fixed an issue causing the OK button not being enabled if the name of the virtual environment was changed second.
eric6/VirtualEnv/VirtualenvConfigurationDialog.py | file | annotate | diff | comparison | revisions |
--- a/eric6/VirtualEnv/VirtualenvConfigurationDialog.py Sun Nov 08 11:42:46 2020 +0100 +++ b/eric6/VirtualEnv/VirtualenvConfigurationDialog.py Sun Nov 08 16:00:57 2020 +0100 @@ -171,6 +171,16 @@ self.venvStack.setCurrentWidget(self.venvPage) @pyqtSlot(str) + def on_nameEdit_textChanged(self, txt): + """ + Private slot handling a change of the virtual environment name. + + @param txt name of the virtual environment + @type str + """ + self.__updateOK() + + @pyqtSlot(str) def on_targetDirectoryPicker_textChanged(self, txt): """ Private slot handling a change of the target directory.