Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesRenamePatchDialog.py

changeset 1131
7781e396c903
parent 1035
2cd7817ac659
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
23 23
24 @param currentPatch name of the current patch (string) 24 @param currentPatch name of the current patch (string)
25 @param patchesList list of patches to select from (list of strings) 25 @param patchesList list of patches to select from (list of strings)
26 @param parent reference to the parent widget (QWidget) 26 @param parent reference to the parent widget (QWidget)
27 """ 27 """
28 QDialog.__init__(self, 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.trUtf8("Current Patch ({0})").format(currentPatch))
33 self.nameCombo.addItems([""] + patchesList) 33 self.nameCombo.addItems([""] + patchesList)

eric ide

mercurial