27 """ |
27 """ |
28 super().__init__(parent) |
28 super().__init__(parent) |
29 self.setupUi(self) |
29 self.setupUi(self) |
30 |
30 |
31 self.currentButton.setText( |
31 self.currentButton.setText( |
32 self.trUtf8("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 |
36 |
37 def __updateUI(self): |
37 def __updateUI(self): |