1
0
mirror of https://gitlab.com/openlp/openlp.git synced 2024-10-01 04:17:34 +00:00

give text edit focus

This commit is contained in:
Andreas Preikschat 2011-06-13 22:49:14 +02:00
parent 9a272ee37a
commit 79c0ef15e0

View File

@ -42,6 +42,10 @@ class ServiceNoteForm(QtGui.QDialog):
self.setupUi() self.setupUi()
self.retranslateUi() self.retranslateUi()
def exec_(self):
self.textEdit.setFocus()
return QtGui.QDialog.exec_(self)
def setupUi(self): def setupUi(self):
self.setObjectName(u'serviceNoteEdit') self.setObjectName(u'serviceNoteEdit')
self.dialogLayout = QtGui.QVBoxLayout(self) self.dialogLayout = QtGui.QVBoxLayout(self)