Focus after copying a tag

Julien LepillerSun Aug 19 11:52:35+0200 2018

ce933fa

Focus after copying a tag

offlate/window.py

138138
        tag = unquote(tag)
139139
        if self.msgstr.__class__.__name__ == "SpellCheckEdit":
140140
            self.msgstr.insertPlainText(tag)
141+
            self.msgstr.setFocus(True)
141142
        else:
142143
            self.msgstr.currentWidget.insertPlainText(tag)
144+
            self.msgstr.currentWidget.setFocus(True)
143145
144146
    def selectItem(self, current, old):
145147
        if current == None: