src/eric7/Plugins/VcsPlugins/vcsGit/GitArchiveDataDialog.py

branch
eric7
changeset 9971
773ad1f1ed22
parent 9653
e67609152c5e
child 10438
4cd7e5a8b3cf
equal deleted inserted replaced
9970:c3686b43f76b 9971:773ad1f1ed22
40 self.fileButton.setIcon(EricPixmapCache.getIcon("open")) 40 self.fileButton.setIcon(EricPixmapCache.getIcon("open"))
41 41
42 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False) 42 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False)
43 43
44 self.tagCombo.addItems(sorted(tagsList)) 44 self.tagCombo.addItems(sorted(tagsList))
45 self.branchCombo.addItems(["master"] + sorted(branchesList)) 45 self.branchCombo.addItems(["main"] + sorted(branchesList))
46 self.formatComboBox.addItems(sorted(formatsList)) 46 self.formatComboBox.addItems(sorted(formatsList))
47 self.formatComboBox.setCurrentIndex(self.formatComboBox.findText("zip")) 47 self.formatComboBox.setCurrentIndex(self.formatComboBox.findText("zip"))
48 48
49 msh = self.minimumSizeHint() 49 msh = self.minimumSizeHint()
50 self.resize(max(self.width(), msh.width()), msh.height()) 50 self.resize(max(self.width(), msh.width()), msh.height())

eric ide

mercurial