Focus after copying a tag
offlate/window.py
138 | 138 | tag = unquote(tag) | |
139 | 139 | if self.msgstr.__class__.__name__ == "SpellCheckEdit": | |
140 | 140 | self.msgstr.insertPlainText(tag) | |
141 | + | self.msgstr.setFocus(True) | |
141 | 142 | else: | |
142 | 143 | self.msgstr.currentWidget.insertPlainText(tag) | |
144 | + | self.msgstr.currentWidget.setFocus(True) | |
143 | 145 | ||
144 | 146 | def selectItem(self, current, old): | |
145 | 147 | if current == None: |