forked from qt-creator/qt-creator
Sessions: fix rename session
Is a regression from last refactoring. Change-Id: Ic46cc9a4a449c281371e5dabf732bcc753ef642c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -202,7 +202,7 @@ void SessionModel::deleteSession(const QString &session)
|
|||||||
void SessionModel::renameSession(const QString &session)
|
void SessionModel::renameSession(const QString &session)
|
||||||
{
|
{
|
||||||
runNewSessionDialog(session, [session](const QString &newName) {
|
runNewSessionDialog(session, [session](const QString &newName) {
|
||||||
SessionManager::cloneSession(session, newName);
|
SessionManager::renameSession(session, newName);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user