65 and self.minimumProtocolComboBox.currentIndex() > 0 |
65 and self.minimumProtocolComboBox.currentIndex() > 0 |
66 ) |
66 ) |
67 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enabled) |
67 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enabled) |
68 |
68 |
69 @pyqtSlot(str) |
69 @pyqtSlot(str) |
70 def on_hostEdit_textChanged(self, txt): |
70 def on_hostEdit_textChanged(self, _txt): |
71 """ |
71 """ |
72 Private slot to handle changes of the host edit. |
72 Private slot to handle changes of the host edit. |
73 |
73 |
74 @param txt current text |
74 @param _txt current text (unused) |
75 @type str |
75 @type str |
76 """ |
76 """ |
77 self.__updateOkButton() |
77 self.__updateOkButton() |
78 |
78 |
79 @pyqtSlot(int) |
79 @pyqtSlot(int) |