forked from openlp/openlp
give text edit focus
This commit is contained in:
parent
9a272ee37a
commit
79c0ef15e0
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user