Network/IRC/IrcChannelEditDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3366
6084bb3c3911
child 3656
441956d8fce5
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
39 self.autoJoinCheckBox.setChecked(autoJoin) 39 self.autoJoinCheckBox.setChecked(autoJoin)
40 40
41 self.nameEdit.setReadOnly(edit) 41 self.nameEdit.setReadOnly(edit)
42 42
43 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(name != "") 43 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(name != "")
44
45 msh = self.minimumSizeHint()
46 self.resize(max(self.width(), msh.width()), msh.height())
44 47
45 @pyqtSlot(str) 48 @pyqtSlot(str)
46 def on_nameEdit_textChanged(self, txt): 49 def on_nameEdit_textChanged(self, txt):
47 """ 50 """
48 Private slot to handle changes of the given name. 51 Private slot to handle changes of the given name.

eric ide

mercurial