openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #22783
[Merge] lp:~sam92/openlp/fix-method-calls into lp:openlp
Samuel Mehrbrodt has proposed merging lp:~sam92/openlp/fix-method-calls into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~sam92/openlp/fix-method-calls/+merge/212336
--
https://code.launchpad.net/~sam92/openlp/fix-method-calls/+merge/212336
Your team OpenLP Core is requested to review the proposed merge of lp:~sam92/openlp/fix-method-calls into lp:openlp.
=== modified file 'openlp/plugins/songs/forms/editsongform.py'
--- openlp/plugins/songs/forms/editsongform.py 2014-03-21 21:38:08 +0000
+++ openlp/plugins/songs/forms/editsongform.py 2014-03-23 22:34:42 +0000
@@ -601,7 +601,7 @@
def on_verse_add_button_clicked(self):
self.verse_form.set_verse('', True)
if self.verse_form.exec_():
- after_text, verse_tag, verse_num = self.verse_form.get_verse
+ after_text, verse_tag, verse_num = self.verse_form.get_verse()
verse_def = '%s%s' % (verse_tag, verse_num)
item = QtGui.QTableWidgetItem(after_text)
item.setData(QtCore.Qt.UserRole, verse_def)
@@ -619,7 +619,7 @@
verse_id = item.data(QtCore.Qt.UserRole)
self.verse_form.set_verse(temp_text, True, verse_id)
if self.verse_form.exec_():
- after_text, verse_tag, verse_num = self.verse_form.get_verse
+ after_text, verse_tag, verse_num = self.verse_form.get_verse()
verse_def = '%s%s' % (verse_tag, verse_num)
item.setData(QtCore.Qt.UserRole, verse_def)
item.setText(after_text)
@@ -661,7 +661,7 @@
self.verse_form.set_verse('')
if not self.verse_form.exec_():
return
- verse_list = self.verse_form.get_all_verses
+ verse_list = self.verse_form.get_all_verses()
verse_list = str(verse_list.replace('\r\n', '\n'))
self.verse_list_widget.clear()
self.verse_list_widget.setRowCount(0)
Follow ups