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()) |