mirror of
https://github.com/KDE/konsole.git
synced 2026-05-03 12:15:33 -04:00
Apply the changed profile only when it is used by current view.
This fixes the regressio caused by commit e8fa53 .
This commit is contained in:
@@ -927,15 +927,16 @@ void ViewManager::profileChanged(Profile::Ptr profile)
|
||||
SessionManager::instance()->sessionProfile(iter.value()) == profile )
|
||||
{
|
||||
applyProfileToView(iter.key(),profile);
|
||||
|
||||
QListIterator<ViewContainer*> containerIter(_viewSplitter->containers());
|
||||
while ( containerIter.hasNext() )
|
||||
{
|
||||
ViewContainer* container = containerIter.next();
|
||||
applyProfileToContainer(container, profile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QListIterator<ViewContainer*> containerIter(_viewSplitter->containers());
|
||||
while ( containerIter.hasNext() )
|
||||
{
|
||||
ViewContainer* container = containerIter.next();
|
||||
applyProfileToContainer(container, profile);
|
||||
}
|
||||
}
|
||||
|
||||
QList<ViewProperties*> ViewManager::viewProperties() const
|
||||
|
||||
Reference in New Issue
Block a user