Changed title of adding `new repo` and `existing repo`. By @SAMAD101 (#1810)

This commit is contained in:
Sam 2023-09-06 13:18:55 +05:30 committed by GitHub
parent 567a3546ae
commit 8c82c4069d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,9 @@
<property name="modal">
<bool>true</bool>
</property>
<property name="windowTitle">
<string>Add Repository</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="verticalSpacing">
<number>0</number>

View File

@ -131,6 +131,7 @@ class RepoWindow(AddRepoBase, AddRepoUI):
class AddRepoWindow(RepoWindow):
def __init__(self, parent=None):
super().__init__(parent)
self.setWindowTitle("Add New Repository")
self.passwordInput = PasswordInput()
self.passwordInput.add_form_to_layout(self.repoDataFormLayout)
@ -226,6 +227,7 @@ class ExistingRepoWindow(RepoWindow):
def __init__(self):
super().__init__()
self.title.setText(self.tr('Connect to existing Repository'))
self.setWindowTitle("Add Existing Repository")
self.passwordLabel = QLabel(self.tr('Password:'))
self.passwordInput = PasswordLineEdit()