Network/IRC/IrcServerEditDialog.py

changeset 3366
6084bb3c3911
parent 3160
209a07d7e401
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
34 self.portSpinBox.setValue(server.getPort()) 34 self.portSpinBox.setValue(server.getPort())
35 self.passwordEdit.setText(server.getPassword()) 35 self.passwordEdit.setText(server.getPassword())
36 self.sslCheckBox.setChecked(server.useSSL()) 36 self.sslCheckBox.setChecked(server.useSSL())
37 37
38 self.__updateOkButton() 38 self.__updateOkButton()
39
40 msh = self.minimumSizeHint()
41 self.resize(max(self.width(), msh.width()), msh.height())
39 42
40 def __updateOkButton(self): 43 def __updateOkButton(self):
41 """ 44 """
42 Private method to update the OK button state. 45 Private method to update the OK button state.
43 """ 46 """

eric ide

mercurial