27 @param parent reference to the parent widget (QWidget) |
27 @param parent reference to the parent widget (QWidget) |
28 """ |
28 """ |
29 super(GitBranchPushDialog, self).__init__(parent) |
29 super(GitBranchPushDialog, self).__init__(parent) |
30 self.setupUi(self) |
30 self.setupUi(self) |
31 |
31 |
32 self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
32 self.__okButton = self.buttonBox.button( |
|
33 QDialogButtonBox.StandardButton.Ok) |
33 |
34 |
34 self.__allBranches = self.tr("<all branches>") |
35 self.__allBranches = self.tr("<all branches>") |
35 |
36 |
36 if "origin" in remotes: |
37 if "origin" in remotes: |
37 self.remoteComboBox.addItem("origin") |
38 self.remoteComboBox.addItem("origin") |