Answer the question
In order to leave comments, you need to log in
How to avoid losing focus in QTextEdit (PyQT)?
After inserting a line in a TextEdit in PyQT, the cursor position is lost.
self.ui.textedit.insertPlainText('string');
I would like the cursor to be positioned after the inserted line after insertion.
How can I do this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question