23 |
23 |
24 @param commits list of commits to show in the commits pane (list of |
24 @param commits list of commits to show in the commits pane (list of |
25 strings) |
25 strings) |
26 @param parent reference to the parent widget (QWidget) |
26 @param parent reference to the parent widget (QWidget) |
27 """ |
27 """ |
28 super(GitCherryPickDialog, self).__init__(parent) |
28 super().__init__(parent) |
29 self.setupUi(self) |
29 self.setupUi(self) |
30 |
30 |
31 if commits: |
31 if commits: |
32 self.commitsEdit.setPlainText("\n".join(commits)) |
32 self.commitsEdit.setPlainText("\n".join(commits)) |
33 |
33 |