diff --git a/src/plugins/projectexplorer/sessionmodel.cpp b/src/plugins/projectexplorer/sessionmodel.cpp index ffb811983a7..0d5456e86d4 100644 --- a/src/plugins/projectexplorer/sessionmodel.cpp +++ b/src/plugins/projectexplorer/sessionmodel.cpp @@ -202,7 +202,7 @@ void SessionModel::deleteSession(const QString &session) void SessionModel::renameSession(const QString &session) { runNewSessionDialog(session, [session](const QString &newName) { - SessionManager::cloneSession(session, newName); + SessionManager::renameSession(session, newName); }); }