--- a/src/eric7/Testing/TestingWidget.py Fri Dec 15 15:33:56 2023 +0100 +++ b/src/eric7/Testing/TestingWidget.py Sat Dec 16 10:49:32 2023 +0100 @@ -532,12 +532,8 @@ self.__discoverButton.setEnabled( bool(self.venvComboBox.currentText()) and bool(self.frameworkComboBox.currentText()) - and ( - ( - self.discoverCheckBox.isChecked() - and bool(self.discoveryPicker.currentText()) - ) - ) + and self.discoverCheckBox.isChecked() + and bool(self.discoveryPicker.currentText()) ) else: self.__discoverButton.setEnabled(False) @@ -762,6 +758,8 @@ @type int """ self.__populateTestFrameworkComboBox() + self.discoveryList.clear() + self.__updateButtonBoxButtons() self.versionsButton.setEnabled(bool(self.venvComboBox.currentText())) @@ -780,6 +778,7 @@ self.__updateCoverage() self.__updateMarkerSupport() self.__updatePatternSupport() + self.discoveryList.clear() @pyqtSlot() def __updateCoverage(self):