Network/IRC/IrcChannelEditDialog.py

changeset 3366
6084bb3c3911
parent 3160
209a07d7e401
child 3484
645c12de6b0c
--- a/Network/IRC/IrcChannelEditDialog.py	Wed Mar 12 19:54:14 2014 +0100
+++ b/Network/IRC/IrcChannelEditDialog.py	Thu Mar 13 19:21:25 2014 +0100
@@ -39,6 +39,9 @@
         self.nameEdit.setReadOnly(edit)
         
         self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(name != "")
+        
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
     
     @pyqtSlot(str)
     def on_nameEdit_textChanged(self, txt):

eric ide

mercurial