Plugins/VcsPlugins/vcsMercurial/HgBranchInputDialog.py

changeset 3366
6084bb3c3911
parent 3353
ddc966a494b0
child 3408
b6e6a7062d12
--- a/Plugins/VcsPlugins/vcsMercurial/HgBranchInputDialog.py	Wed Mar 12 19:54:14 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgBranchInputDialog.py	Thu Mar 13 19:21:25 2014 +0100
@@ -33,7 +33,8 @@
         
         self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)
         
-        self.resize(self.width(), self.minimumSizeHint().height())
+        msh = self.minimumSizeHint()
+        self.resize(max(self.width(), msh.width()), msh.height())
     
     @pyqtSlot(str)
     def on_branchComboBox_editTextChanged(self, txt):

eric ide

mercurial