This commit is contained in:
Andreas Preikschat 2010-10-12 18:47:53 +02:00
parent 9d89ca69c6
commit aab9d1b2ca

View File

@ -76,7 +76,8 @@ class EditVerseForm(QtGui.QDialog, Ui_EditVerseDialog):
def onVerseTypeComboBoxChanged(self): def onVerseTypeComboBoxChanged(self):
""" """
Adjusts the verse number SpinBox in regard to the selected verse type. Adjusts the verse number SpinBox in regard to the selected verse type
and the cursor's position.
""" """
position = self.verseTextEdit.textCursor().position() position = self.verseTextEdit.textCursor().position()
text = unicode(self.verseTextEdit.toPlainText()) text = unicode(self.verseTextEdit.toPlainText())