36 |
36 |
37 @param text text to be shown by the label (string) |
37 @param text text to be shown by the label (string) |
38 @param git reference to the Git interface object (Git) |
38 @param git reference to the Git interface object (Git) |
39 @param parent parent widget (QWidget) |
39 @param parent parent widget (QWidget) |
40 """ |
40 """ |
41 super(GitDialog, self).__init__(parent) |
41 super().__init__(parent) |
42 self.setupUi(self) |
42 self.setupUi(self) |
43 |
43 |
44 self.buttonBox.button( |
44 self.buttonBox.button( |
45 QDialogButtonBox.StandardButton.Close).setEnabled(False) |
45 QDialogButtonBox.StandardButton.Close).setEnabled(False) |
46 self.buttonBox.button( |
46 self.buttonBox.button( |