mirror of
https://github.com/KDE/konsole.git
synced 2026-05-03 12:15:33 -04:00
Set session title to profile name when created. Rename tab dialog changes the tab title format rather than the session's title itself.
svn path=/branches/work/konsole-split-view/; revision=661587
This commit is contained in:
@@ -623,6 +623,9 @@ void SessionManager::applyProfile(Session* session, const Profile* info , bool m
|
||||
session->setType( _types.key((Profile*)info) );
|
||||
|
||||
// Basic session settings
|
||||
if ( !modifiedPropertiesOnly || info->isPropertySet(Profile::Name) )
|
||||
session->setTitle(info->name());
|
||||
|
||||
if ( !modifiedPropertiesOnly || info->isPropertySet(Profile::Command) )
|
||||
session->setProgram(info->command());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user