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. |