Fix focus to ip text widget when calling projetor edit

This commit is contained in:
Ken Roberts 2014-10-21 17:49:21 -07:00
parent 2e6556a11b
commit 6391b17b6d

View File

@ -122,6 +122,7 @@ class Ui_ProjectorEditForm(object):
edit_projector_dialog.setWindowTitle(title) edit_projector_dialog.setWindowTitle(title)
self.ip_label.setText(translate('OpenLP.ProjectorEditForm', 'IP Address')) self.ip_label.setText(translate('OpenLP.ProjectorEditForm', 'IP Address'))
self.ip_text.setText(self.projector.ip) self.ip_text.setText(self.projector.ip)
self.ip_text.setFocus()
self.port_label.setText(translate('OpenLP.ProjectorEditForm', 'Port Number')) self.port_label.setText(translate('OpenLP.ProjectorEditForm', 'Port Number'))
self.port_text.setText(str(self.projector.port)) self.port_text.setText(str(self.projector.port))
self.pin_label.setText(translate('OpenLP.ProjectorEditForm', 'PIN')) self.pin_label.setText(translate('OpenLP.ProjectorEditForm', 'PIN'))