Fix crash with plurals
offlate/ui/editor.py
169 | 169 | if self.msgstr.__class__.__name__ == "SpellCheckEdit": | |
170 | 170 | self.msgstr.clearFocus() | |
171 | 171 | else: | |
172 | - | self.msgstr.currentWidget.clearFocus() | |
172 | + | self.msgstr.currentWidget().clearFocus() | |
173 | 173 | data = current.data(0, Qt.UserRole) | |
174 | 174 | self.hbox.removeWidget(self.msgid) | |
175 | 175 | self.hbox.removeItem(self.buttons) |