eric6/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesRenamePatchDialog.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
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 super(HgQueuesRenamePatchDialog, self).__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.tr("Current Patch ({0})").format(currentPatch)) 32 self.tr("Current Patch ({0})").format(currentPatch))
33 self.nameCombo.addItems([""] + patchesList) 33 self.nameCombo.addItems([""] + patchesList)

eric ide

mercurial