31 self.currentButton.setText( |
31 self.currentButton.setText( |
32 self.tr("Current Patch ({0})").format(currentPatch)) |
32 self.tr("Current Patch ({0})").format(currentPatch)) |
33 self.nameCombo.addItems([""] + patchesList) |
33 self.nameCombo.addItems([""] + patchesList) |
34 |
34 |
35 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
35 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
|
36 |
|
37 msh = self.minimumSizeHint() |
|
38 self.resize(max(self.width(), msh.width()), msh.height()) |
36 |
39 |
37 def __updateUI(self): |
40 def __updateUI(self): |
38 """ |
41 """ |
39 Private slot to update the UI. |
42 Private slot to update the UI. |
40 """ |
43 """ |