mirror of
https://github.com/KDE/konsole.git
synced 2026-05-19 12:09:25 -04:00
Fix tab title syncing between multiple views of the same session.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665823
This commit is contained in:
@@ -205,7 +205,7 @@ void SessionManager::sessionTerminated(QObject* sessionObject)
|
||||
{
|
||||
Session* session = qobject_cast<Session*>(sessionObject);
|
||||
|
||||
qDebug() << "Session finished: " << session->title();
|
||||
qDebug() << "Session finished: " << session->title(Session::NameRole);
|
||||
|
||||
Q_ASSERT( session );
|
||||
|
||||
@@ -317,7 +317,7 @@ void SessionManager::applyProfile(Session* session, const Profile* info , bool m
|
||||
|
||||
// Basic session settings
|
||||
if ( !modifiedPropertiesOnly || info->isPropertySet(Profile::Name) )
|
||||
session->setTitle(info->name());
|
||||
session->setTitle(Session::NameRole,info->name());
|
||||
|
||||
if ( !modifiedPropertiesOnly || info->isPropertySet(Profile::Command) )
|
||||
session->setProgram(info->command());
|
||||
|
||||
Reference in New Issue
Block a user