Plugins/VcsPlugins/vcsMercurial/HgBranchInputDialog.py

changeset 3366
6084bb3c3911
parent 3353
ddc966a494b0
child 3408
b6e6a7062d12
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
31 self.branchComboBox.addItems(sorted(branches)) 31 self.branchComboBox.addItems(sorted(branches))
32 self.branchComboBox.setEditText("") 32 self.branchComboBox.setEditText("")
33 33
34 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) 34 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)
35 35
36 self.resize(self.width(), self.minimumSizeHint().height()) 36 msh = self.minimumSizeHint()
37 self.resize(max(self.width(), msh.width()), msh.height())
37 38
38 @pyqtSlot(str) 39 @pyqtSlot(str)
39 def on_branchComboBox_editTextChanged(self, txt): 40 def on_branchComboBox_editTextChanged(self, txt):
40 """ 41 """
41 Private slot handling a change of the branch name. 42 Private slot handling a change of the branch name.

eric ide

mercurial