-rw-r--r-- | kaddressbook/undocmds.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kaddressbook/undocmds.cpp b/kaddressbook/undocmds.cpp index db773be..5fbeec3 100644 --- a/kaddressbook/undocmds.cpp +++ b/kaddressbook/undocmds.cpp @@ -118,6 +118,7 @@ void PwPasteCommand::redo() } - - QStringList::Iterator uidIt; - for ( uidIt = uids.begin(); uidIt != uids.end(); ++uidIt ) - mCore->editContact( *uidIt ); + if ( uids.count() < 4 ) { + QStringList::Iterator uidIt; + for ( uidIt = uids.begin(); uidIt != uids.end(); ++uidIt ) + mCore->editContact( *uidIt ); + } } |