forked from openlp/openlp
fixes bug#1424555
This commit is contained in:
parent
4847efdfd6
commit
4e96db4010
@ -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.
|
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()
|
position = self.verse_text_edit.textCursor().position()
|
||||||
text = self.verse_text_edit.toPlainText()
|
text = self.verse_text_edit.toPlainText()
|
||||||
verse_name = VerseType.translated_names[
|
verse_name = VerseType.translated_names[
|
||||||
|
Loading…
Reference in New Issue
Block a user