openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #16497
[Merge] lp:~googol/openlp/bug-1022125 into lp:openlp
Andreas Preikschat has proposed merging lp:~googol/openlp/bug-1022125 into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Related bugs:
Bug #1022125 in OpenLP: "Authors display name is not automatically entered"
https://bugs.launchpad.net/openlp/+bug/1022125
For more details, see:
https://code.launchpad.net/~googol/openlp/bug-1022125/+merge/113831
fixed bug 1022125 (Authors display name is not automatically entered)
--
https://code.launchpad.net/~googol/openlp/bug-1022125/+merge/113831
Your team OpenLP Core is requested to review the proposed merge of lp:~googol/openlp/bug-1022125 into lp:openlp.
=== modified file 'openlp/plugins/songs/forms/authorsform.py'
--- openlp/plugins/songs/forms/authorsform.py 2012-06-22 14:14:53 +0000
+++ openlp/plugins/songs/forms/authorsform.py 2012-07-07 19:08:20 +0000
@@ -61,14 +61,14 @@
def onFirstNameEditTextEdited(self, display_name):
if not self._autoDisplayName:
return
- if not self.lastNameEdit.text():
+ if self.lastNameEdit.text():
display_name = display_name + u' ' + self.lastNameEdit.text()
self.displayEdit.setText(display_name)
def onLastNameEditTextEdited(self, display_name):
if not self._autoDisplayName:
return
- if not self.firstNameEdit.text():
+ if self.firstNameEdit.text():
display_name = self.firstNameEdit.text() + u' ' + display_name
self.displayEdit.setText(display_name)
Follow ups