diff --git a/gitplusplus.cpp b/gitplusplus.cpp index 338a3d6..f95afc6 100644 --- a/gitplusplus.cpp +++ b/gitplusplus.cpp @@ -548,7 +548,7 @@ GitPlusPlusView::GitPlusPlusView(GitPlusPlusPlugin *plugin, KTextEditor::MainWin // Connect to project plugin for project-switch detection QObject *projectPluginView = m_mainWindow->pluginView(QStringLiteral("kateprojectplugin")); if (projectPluginView) { - connect(projectPluginView, SIGNAL(projectChanged()), this, SLOT(onProjectChanged())); + connect(projectPluginView, SIGNAL(projectFileNameChanged()), this, SLOT(onProjectChanged())); } // Refresh everything when the active view changes (project might have changed)