mirror of
https://github.com/KDE/konsole.git
synced 2026-05-07 06:05:18 -04:00
Temp fix for some crashes when changing profiles in Konsole Part.
CCBUG: 256357 svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1200790
This commit is contained in:
@@ -315,6 +315,10 @@ void SessionManager::updateSession(Session* session)
|
||||
{
|
||||
Profile::Ptr info = _sessionProfiles[session];
|
||||
|
||||
// Temp fix for crashes when changing profiles 256357, 246054
|
||||
if (!info)
|
||||
info = defaultProfile();
|
||||
|
||||
Q_ASSERT( info );
|
||||
|
||||
applyProfile(session,info,false);
|
||||
|
||||
Reference in New Issue
Block a user