Remove unnecessary verse_text_edit update

This commit is contained in:
STEPHANVS 2022-02-08 00:56:29 +01:00
parent 93ed31e54d
commit f75e8dddb4
No known key found for this signature in database
GPG Key ID: 4EFE47E471FD62A9

View File

@ -139,7 +139,6 @@ class EditVerseForm(QtWidgets.QDialog, Ui_EditVerseDialog):
'Transposing failed because of invalid chord:\n{err_msg}'
.format(err_msg=ke)))
return
self.verse_text_edit.setPlainText(transposed_lyrics)
self.verse_text_edit.setFocus()
self.verse_text_edit.moveCursor(QtGui.QTextCursor.End)
@ -165,7 +164,6 @@ class EditVerseForm(QtWidgets.QDialog, Ui_EditVerseDialog):
'Transposing failed because of invalid chord:\n{err_msg}'
.format(err_msg=ke)))
return
self.verse_text_edit.setPlainText(transposed_lyrics)
self.verse_text_edit.setFocus()
self.verse_text_edit.moveCursor(QtGui.QTextCursor.End)