diff options
author | Christian Stenger <[email protected]> | 2022-05-06 15:15:46 +0200 |
---|---|---|
committer | Christian Stenger <[email protected]> | 2022-05-31 10:13:06 +0000 |
commit | dcfa15ff1742bf8a6f5d55892edc75150aa34ae0 (patch) | |
tree | f904f3029a05687c0de5662c42f6c5daac8f7e5a /src/plugins/gitlab/gitlabprojectsettings.cpp | |
parent | b336ebafc32190808ceb47c9bc5b33c95dbd48b6 (diff) |
GitLab: Allow browsing and cloning projects
Change-Id: I1cc877ea6b5a55ae7bdb8e7a529afeb08d09e0c0
Reviewed-by: <[email protected]>
Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/gitlab/gitlabprojectsettings.cpp')
-rw-r--r-- | src/plugins/gitlab/gitlabprojectsettings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gitlab/gitlabprojectsettings.cpp b/src/plugins/gitlab/gitlabprojectsettings.cpp index 7088131c409..22921e229de 100644 --- a/src/plugins/gitlab/gitlabprojectsettings.cpp +++ b/src/plugins/gitlab/gitlabprojectsettings.cpp @@ -294,6 +294,7 @@ void GitLabProjectSettingsWidget::updateEnabledStates() const bool isGitRepository = m_hostCB->count() > 0; const bool hasGitLabServers = m_linkedGitLabServer->count(); const bool linked = m_projectSettings->isLinked(); + m_linkedGitLabServer->setEnabled(isGitRepository && !linked); m_hostCB->setEnabled(isGitRepository && !linked); m_linkWithGitLab->setEnabled(isGitRepository && !linked && hasGitLabServers); |