forked from openlp/openlp
Correct Focus on entry to dialog
bzr-revno: 1639
This commit is contained in:
commit
18cbfe6f53
@ -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