Commit 1c80db0b authored by Kurt Hindenburg's avatar Kurt Hindenburg

Prevent crash if no "Copy To" is active and user selects "Copy To None"

CCBUG: 234330

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1114807
parent 2451aeea
......@@ -773,6 +773,9 @@ void SessionController::copyInputToSelectedTabs()
void SessionController::copyInputToNone()
{
if (!_copyToGroup) // No 'Copy To' is active
return;
QSet<Session*> group =
QSet<Session*>::fromList(SessionManager::instance()->sessions());
for(QSet<Session*>::iterator iterator = group.begin();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment