forked from openlp/openlp
fixed bug 1022125 (Authors display name is not automatically entered)
bzr-revno: 2020 Fixes: https://launchpad.net/bugs/1022125
This commit is contained in:
commit
a1610f71d4
@ -61,14 +61,14 @@ class AuthorsForm(QtGui.QDialog, Ui_AuthorsDialog):
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user