openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #26331
[Merge] lp:~oliwee/openlp/bug_1424555 into lp:openlp
Oliver Wieland has proposed merging lp:~oliwee/openlp/bug_1424555 into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Related bugs:
Bug #1424555 in OpenLP: "When editing a single verse, the number is always 1"
https://bugs.launchpad.net/openlp/+bug/1424555
For more details, see:
https://code.launchpad.net/~oliwee/openlp/bug_1424555/+merge/250660
fixes bug#1424555
--
Your team OpenLP Core is requested to review the proposed merge of lp:~oliwee/openlp/bug_1424555 into lp:openlp.
=== modified file 'openlp/plugins/songs/forms/editverseform.py'
--- openlp/plugins/songs/forms/editverseform.py 2015-01-18 13:39:21 +0000
+++ openlp/plugins/songs/forms/editverseform.py 2015-02-23 17:43:45 +0000
@@ -98,6 +98,8 @@
"""
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[
Follow ups