Reset input method when autocompleting a user
Fixes IME being left in a strange state upon autocompleting a word that was being edited.
This commit is contained in:
		@@ -33,6 +33,8 @@ HListView {
 | 
				
			|||||||
        ""
 | 
					        ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    function replaceCompletionOrCurrentWord(withText) {
 | 
					    function replaceCompletionOrCurrentWord(withText) {
 | 
				
			||||||
 | 
					        Qt.inputMethod.reset()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        const current = textArea.getWordBehindCursor()
 | 
					        const current = textArea.getWordBehindCursor()
 | 
				
			||||||
        if (! current) return
 | 
					        if (! current) return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user