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.retranslateUi()
def exec_(self):
self.textEdit.setFocus()
return QtGui.QDialog.exec_(self)
def setupUi(self):
self.setObjectName(u'serviceNoteEdit')
self.dialogLayout = QtGui.QVBoxLayout(self)