--- a/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesDeinitDialog.py Sat Sep 21 20:30:56 2019 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesDeinitDialog.py Sat Sep 21 22:03:03 2019 +0200 @@ -39,8 +39,10 @@ """ Private slot to update the state of the OK button. """ - enable = self.allCheckBox.isChecked() or \ + enable = ( + self.allCheckBox.isChecked() or len(self.submodulesList.selectedItems()) > 0 + ) self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enable) @pyqtSlot(bool)