From c022e6a89f0052d323352b2440a16f8029567869 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sat, 5 Jun 2010 15:29:06 +0100 Subject: [PATCH] Fix cursor position --- openlp/plugins/songs/forms/editverseform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/plugins/songs/forms/editverseform.py b/openlp/plugins/songs/forms/editverseform.py index 2efd773b2..9543a4e7d 100644 --- a/openlp/plugins/songs/forms/editverseform.py +++ b/openlp/plugins/songs/forms/editverseform.py @@ -161,6 +161,7 @@ class EditVerseForm(QtGui.QDialog, Ui_EditVerseDialog): self.InsertButton.setVisible(True) self.VerseTextEdit.setPlainText(text) self.VerseTextEdit.setFocus(QtCore.Qt.OtherFocusReason) + self.VerseTextEdit.moveCursor(QtGui.QTextCursor.End) def getVerse(self): return self.VerseTextEdit.toPlainText(), \ @@ -173,4 +174,3 @@ class EditVerseForm(QtGui.QDialog, Ui_EditVerseDialog): text = u'---[Verse:1]---\n%s' % text return text -