fixes bug#1424555

This commit is contained in:
Oliver Wieland 2015-02-23 18:40:56 +01:00
parent 4847efdfd6
commit 4e96db4010

View File

@ -98,6 +98,8 @@ class EditVerseForm(QtGui.QDialog, Ui_EditVerseDialog):
"""
Adjusts the verse number SpinBox in regard to the selected verse type and the cursor's position.
"""
if self.has_single_verse:
return
position = self.verse_text_edit.textCursor().position()
text = self.verse_text_edit.toPlainText()
verse_name = VerseType.translated_names[