'QPlainTextEdit\'s "centerCursor" requires the widget to be visible'

@Slot()
def center_cursor_on_next_focus(self):

    self.centerCursor()
    self.focus_in.disconnect(self.center_cursor_on_next_focus)
