138 if not self.project.vcsSoftwareAvailable(): |
138 if not self.project.vcsSoftwareAvailable(): |
139 self.vcsCheckBox.hide() |
139 self.vcsCheckBox.hide() |
140 |
140 |
141 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( |
141 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( |
142 bool(self.dirEdit.text()) and |
142 bool(self.dirEdit.text()) and |
143 Utilities.fromNativeSeparators(self.dirEdit.text()) not in |
143 Utilities.fromNativeSeparators(self.dirEdit.text()) not in |
144 self.__initPaths) |
144 self.__initPaths) |
145 |
145 |
146 @pyqtSlot(str) |
146 @pyqtSlot(str) |
147 def on_languageComboBox_currentIndexChanged(self, language): |
147 def on_languageComboBox_currentIndexChanged(self, language): |
148 """ |
148 """ |