Network/IRC/IrcServerEditDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3366
6084bb3c3911
child 3656
441956d8fce5
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
36 self.portSpinBox.setValue(server.getPort()) 36 self.portSpinBox.setValue(server.getPort())
37 self.passwordEdit.setText(server.getPassword()) 37 self.passwordEdit.setText(server.getPassword())
38 self.sslCheckBox.setChecked(server.useSSL()) 38 self.sslCheckBox.setChecked(server.useSSL())
39 39
40 self.__updateOkButton() 40 self.__updateOkButton()
41
42 msh = self.minimumSizeHint()
43 self.resize(max(self.width(), msh.width()), msh.height())
41 44
42 def __updateOkButton(self): 45 def __updateOkButton(self):
43 """ 46 """
44 Private method to update the OK button state. 47 Private method to update the OK button state.
45 """ 48 """

eric ide

mercurial