62 bool(self.descriptionEdit.text().strip()) |
62 bool(self.descriptionEdit.text().strip()) |
63 and bool(self.wordsEdit.toPlainText().strip()) |
63 and bool(self.wordsEdit.toPlainText().strip()) |
64 ) |
64 ) |
65 |
65 |
66 @pyqtSlot(str) |
66 @pyqtSlot(str) |
67 def on_descriptionEdit_textChanged(self, txt): |
67 def on_descriptionEdit_textChanged(self, _txt): |
68 """ |
68 """ |
69 Private slot handling changes of the description. |
69 Private slot handling changes of the description. |
70 |
70 |
71 @param txt text of the description |
71 @param _txt text of the description (unused) |
72 @type str |
72 @type str |
73 """ |
73 """ |
74 self.__updateOk() |
74 self.__updateOk() |
75 |
75 |
76 @pyqtSlot() |
76 @pyqtSlot() |