diff --git a/gitplusplus.cpp b/gitplusplus.cpp index 6fd7ebb..891ab0f 100644 --- a/gitplusplus.cpp +++ b/gitplusplus.cpp @@ -2244,6 +2244,10 @@ void GitPlusPlusView::detectWorkspace() m_gitDir = projectBaseDir(); if (m_gitDir.isEmpty()) { m_repoCombo->hide(); + m_repoLabel->setText(QStringLiteral("No git repository")); + m_repoLabel->setStyleSheet(QStringLiteral("font-weight: bold; padding: 2px 4px; color: gray;")); + if (m_statusBarWidget) + m_statusBarWidget->setText(QStringLiteral("Git++")); return; }