Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesRenamePatchDialog.py

changeset 3366
6084bb3c3911
parent 3190
a9a94491c4fd
child 3408
b6e6a7062d12
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
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 """

eric ide

mercurial