Network/IRC/IrcChannelEditDialog.py

changeset 3366
6084bb3c3911
parent 3160
209a07d7e401
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
37 self.autoJoinCheckBox.setChecked(autoJoin) 37 self.autoJoinCheckBox.setChecked(autoJoin)
38 38
39 self.nameEdit.setReadOnly(edit) 39 self.nameEdit.setReadOnly(edit)
40 40
41 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(name != "") 41 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(name != "")
42
43 msh = self.minimumSizeHint()
44 self.resize(max(self.width(), msh.width()), msh.height())
42 45
43 @pyqtSlot(str) 46 @pyqtSlot(str)
44 def on_nameEdit_textChanged(self, txt): 47 def on_nameEdit_textChanged(self, txt):
45 """ 48 """
46 Private slot to handle changes of the given name. 49 Private slot to handle changes of the given name.

eric ide

mercurial